skull & crossbones icon for mines
This commit is contained in:
parent
8ebb5e0cc3
commit
160b665cd4
|
@ -174,6 +174,7 @@
|
||||||
|
|
||||||
li.mine.revealed {
|
li.mine.revealed {
|
||||||
background-color: #d23000;
|
background-color: #d23000;
|
||||||
|
color: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
li.mines1 {
|
li.mines1 {
|
||||||
|
@ -552,6 +553,7 @@
|
||||||
|
|
||||||
if ($(this).isMine()) {
|
if ($(this).isMine()) {
|
||||||
$(this).addClass("revealed");
|
$(this).addClass("revealed");
|
||||||
|
$(this).html("☠"); //skull & crossbones
|
||||||
|
|
||||||
//game over, or lose a life, or whatever
|
//game over, or lose a life, or whatever
|
||||||
//...
|
//...
|
||||||
|
|
Loading…
Reference in New Issue