Added good game ending instead of looping
This commit is contained in:
@ -43,7 +43,8 @@ body {
|
||||
left: 0px;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
z-index: 1; /*hide baby*/
|
||||
z-index: 1;
|
||||
/*hide baby*/
|
||||
}
|
||||
|
||||
#playBegin {
|
||||
@ -67,6 +68,7 @@ body {
|
||||
|
||||
display: none;
|
||||
}
|
||||
|
||||
.floatright {
|
||||
position: absolute;
|
||||
right: 2%;
|
||||
@ -104,7 +106,9 @@ body {
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
#mao>img, #xi>img, #square>img {
|
||||
#mao>img,
|
||||
#xi>img,
|
||||
#square>img {
|
||||
width: 30vw;
|
||||
margin-top: 10vh;
|
||||
}
|
||||
@ -113,4 +117,14 @@ body {
|
||||
background-color: black;
|
||||
display: none;
|
||||
z-index: 10;
|
||||
font-size: 30px;
|
||||
padding-top: 20vh;
|
||||
}
|
||||
|
||||
#win {
|
||||
background-color: red;
|
||||
display: none;
|
||||
z-index: 10;
|
||||
font-size: 30px;
|
||||
padding-top: 20vh;
|
||||
}
|
Reference in New Issue
Block a user