additional stuff

This commit is contained in:
Evert Prants 2022-10-19 20:57:37 +03:00
parent f0f10e4bed
commit d0434ffebb
Signed by: evert
GPG Key ID: 1688DA83D222D0B5
2 changed files with 8 additions and 0 deletions

View File

@ -100,6 +100,7 @@ function reset() {
score.value = 0; score.value = 0;
gameOver.value = false; gameOver.value = false;
victory.value = false; victory.value = false;
determineNext();
} }
function determineNext() { function determineNext() {

View File

@ -43,6 +43,11 @@ body {
&-field { &-field {
overflow: hidden; overflow: hidden;
position: absolute;
top: 0;
z-index: 1;
width: 100%;
bottom: 0;
} }
&-score { &-score {
@ -52,6 +57,7 @@ body {
&-pointer { &-pointer {
position: absolute; position: absolute;
z-index: 2;
width: 100px; width: 100px;
height: 100px; height: 100px;
@ -81,6 +87,7 @@ body {
justify-content: center; justify-content: center;
font-size: 2rem; font-size: 2rem;
pointer-events: none; pointer-events: none;
z-index: 4;
} }
&-object { &-object {