You start the game with a number of lives equal to the number of players. Lose all your lives and you lose the game. You also start with a shuriken, and if everyone wants to use a shuriken, each player discards their lowest card face up, giving everyone information and getting closer to the end of the level. As you complete the levels, you may receive a reward (a shuriken or an additional life ). Complete all levels and you win!
Vous commencez le jeu avec un nombre de vies égal au nombre de joueurs. Perdez toutes vos vies et vous perdez la partie. Vous commencez également avec un shuriken, et si tout le monde veut utiliser un shuriken, chaque joueur défausse sa carte la plus basse face visible, donnant à chacun des informations et vous rapprochant de la fin du niveau. À mesure que vous terminez les niveaux, vous pourriez recevoir une récompense d'un shuriken ou une vie supplémentaire. Terminez tous les niveaux et vous gagnez!
- login/name (string)
- hand (array)
- joinGame()
- hesistateToDiscard()
- askShuriken()
- discardCard() (put card on board)
- drawCard()
- Cards - Numbers [0-100]
- cleanBoard()
- Lives = playersCount (number)
- ShurikenCounts = 1 (number)
- Turn/Level
- isStarted
- isEnded
- Lose/win (gameResult)
- players
- startGame()
- gainLife()
- loseLife()
- addShuriken()
- useShuriken()
- checkCardValue()
- resolveTurn(calculate penalties/bonus lifes lose)
- changeTurn()
- initTurn()
- dealCards()
state = Count(Players);
- shuriken(bonus) or life
- id_user (PK)
- user_name
- id_game (PK)
- shared_code
- game_status (before / run / ended )
- start datetime
- end datetime
- game_result (Lose/win)
- lives
- shuriken
- turn
- move
- created_by (FK/id_user)
- created_at datetime
- id game_user (PK)
- id game (FK)
- id_user (FK)
- id_card (PK)
- card_value
- id_card_game
- id_card
- id_game
- id_card_state
- id_card_game
- id_slot
- id_game_user
- move ?
- id_slot
- name_slot library, hand, inGame, graveyard
- value_slot (default value : 0) possible value [library(0), hand(1), inGame(2), graveyard(3)]
- DARK JUNGLE GREEN #1A1E27 (BLACK)
- LIGHT SEA GREEN #1DD3BO (GREEN)
- AWESOME #FF206E (RED)
- BABY POWDER #FDFFFC (WHITE)
- VIVID CERULEAN #00A6FB (BLUE)
- RICH BLACK #000C26
- MUSTARD #FFC857
- RED SALSA #F03A47
- DARK IMPERIAL BLUE #08415C
- LIGHT CYAN #D7F9FF