Fix bug and update red7 game.
parent
405de6d6c0
commit
751282717d
|
|
@ -1 +1,2 @@
|
|||
1.0: Initial version of game
|
||||
1.0.1: Fix mistake preventing game from ending in some cases.
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ For rules, see [here](https://asmadigames.com/Red7Rules.pdf).
|
|||
## Usage
|
||||
|
||||
Current rule card is shown in center of screen when viewing your hand.
|
||||
Swipe left to see your palettes and right on the palette screen to go back to your hand. Tap on a card to see it's details and then swipe either left or right to play the card as a rule or a palette card.
|
||||
Swipe left to see your palettes and right on the palette screen to go back to your hand. Tap on a card to see it's details and then swipe either left or right to play the card as a rule or a palette card. Taping anywhere besides the card will dismis the card details.
|
||||
Press the watch button to bring up the menu, which you can undo your card plays, end your turn, or start a new game.
|
||||
|
||||
## Creator
|
||||
|
|
|
|||
|
|
@ -678,9 +678,7 @@ function finishTurn() {
|
|||
} else if(playerHand.handCards.length === 0) {
|
||||
drawGameOver(false);
|
||||
} else if(!canPlay(playerHand, playerPalette, AIPalette)) {
|
||||
console.log("no play");
|
||||
//drawGameOver(false);
|
||||
drawScreen1();
|
||||
drawGameOver(false);
|
||||
} else {
|
||||
E.showMenu();
|
||||
drawScreen1();
|
||||
|
|
|
|||
Loading…
Reference in New Issue