finished moving and claculating possible targets and ways

This commit is contained in:
Maik Hagenbruch
2020-04-01 10:57:36 +02:00
parent 48767c8ad8
commit 4c874945d9
3 changed files with 190 additions and 479 deletions

View File

@@ -8,7 +8,17 @@
text-align: center;
}
#gamePanel {}
.game {
display: flex;
flex-wrap: wrap;
}
.game #gamePanel {
flex: 0 50%;
}
.game .overview {
flex: 0 50%;
}
#gamePanel .field {
display:inline-block;
}
@@ -58,4 +68,10 @@
}
#gamePanel .field.field.possibleMove:hover {
background-color: rgba(100, 170,20, 0.8);
}
#gamePanel .field.possibleMove.match {
background-color: rgba(255, 37, 37, 0.6);
}
#gamePanel .field.possibleMove.match:hover {
background-color: rgba(255, 0, 0, 0.6);
}