From b61885f00b5613c09bde8ce6b6808922b548d4c0 Mon Sep 17 00:00:00 2001 From: synth-ruiner Date: Wed, 18 Mar 2015 17:28:27 +0000 Subject: [PATCH] Fix for image sizing also prelim stuff for the credits --- index.html | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/index.html b/index.html index 9a793d6..658c8dd 100644 --- a/index.html +++ b/index.html @@ -42,6 +42,10 @@ width: 100vmin; } + #cracktro { + display: none; + } + #game { background-color: #1b1c17; float: left; @@ -225,6 +229,7 @@ li.flagged { background-color: #b5fe52; background-image: url("images/flag.png"); + background-size: 100% 100%; } li.flagged:hover { @@ -234,6 +239,7 @@ li.mine.revealed { background-color: #d23000; background-image: url("images/skull.png"); + background-size: 100% 100%; } li.mines1 { @@ -609,6 +615,17 @@ return $(this).countMinesAdjacent().toString().replace("0", ""); } + $.fn.cracktro = function() { + var text = $('#cracktro').text().trim().split(); + var cracktro = ""; + + for (var i = 0; i < text.length; i++) { + cracktro += "" + text[i] + ""; + } + + $('#cracktro').html(cracktro); + } + $('input[type="radio"]').on("change", function() { switch ($(this).val()) { case "easy": @@ -815,6 +832,24 @@

a game by max bradbury

inspirations include minesweeper, tetris and 2048

tell your friends

+ +
+ a game by max bradbury...................................................................... + + inspired by minesweeper, tetris and 2048.................................................... + + gratz 'n' greetz go out to mum & dad, guy, titas, dan, robin, arielle, isadore, + thom, tom, olu, lovely dave, jen, ed, david, andy, rachel, isaac, rory, + patrick 'partay' pat, al, ant, zoe, john, charlie..................... + + plugs go out to keygenjukebox.com, candybox2.net, aliendovecote.com, zoe quinn & depression quest, + cookie clicker, font squirrel, codecademy, sublime text, github............................ + + this game was made in html5 and jquery...................................................... + + more games coming soon... keep your eyes peeled... peace! +
+