Merge remote-tracking branch 'origin/gh-pages'
This commit is contained in:
commit
a8adfb4e4d
33
index.html
33
index.html
|
@ -42,6 +42,10 @@
|
||||||
width: 100vmin;
|
width: 100vmin;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#cracktro {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
#game {
|
#game {
|
||||||
background-color: #1b1c17;
|
background-color: #1b1c17;
|
||||||
float: left;
|
float: left;
|
||||||
|
@ -611,6 +615,17 @@
|
||||||
return $(this).countMinesAdjacent().toString().replace("0", "");
|
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 += "<span>" + text[i] + "</span>";
|
||||||
|
}
|
||||||
|
|
||||||
|
$('#cracktro').html(cracktro);
|
||||||
|
}
|
||||||
|
|
||||||
$('input[type="radio"]').on("change", function() {
|
$('input[type="radio"]').on("change", function() {
|
||||||
switch ($(this).val()) {
|
switch ($(this).val()) {
|
||||||
case "easy":
|
case "easy":
|
||||||
|
@ -817,6 +832,24 @@
|
||||||
<p>a game by max bradbury</p>
|
<p>a game by max bradbury</p>
|
||||||
<p>inspirations include minesweeper, tetris and 2048</p>
|
<p>inspirations include minesweeper, tetris and 2048</p>
|
||||||
<p>tell your friends</p>
|
<p>tell your friends</p>
|
||||||
|
|
||||||
|
<div id="cracktro">
|
||||||
|
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!
|
||||||
|
</div>
|
||||||
|
|
||||||
<button>reset</button>
|
<button>reset</button>
|
||||||
</div>
|
</div>
|
||||||
<div id="setup">
|
<div id="setup">
|
||||||
|
|
Loading…
Reference in New Issue