alnah005 / Konkan

Flutter game that is popular in my home country (Yemen)
1 stars 0 forks source link

Game logic #5

Closed alnah005 closed 4 years ago

alnah005 commented 4 years ago

This consists of:

  1. Getting actual (or simulated) game state information from the server
  2. incorporating information of the game state to know which moves are possible
  3. Sending actual (or simulated) game state information to the server after a player's turn is complete
  4. Sending game termination signal if the game is over

    None of this has to be in the UI (UI can be dealt with in a separate issue)

alnah005 commented 4 years ago

7643c059d6f7176bb400b81d2dc9d560f01c3b25 contains a simulated initial state with the following:

  1. There are 4 players. Each player has: a. 2 decks (Cards that are in their hand (P#), Cards that are set (P#SET) where # is a number between 1 and 4) b. 14 cards total
  2. The game currently has 11 deck lists: a. 8 player decks b. deck that contains remaining cards to be drawn by the players c. deck that contains disposed cards d. deck that shows the bottom of the deck in point (.b)
  3. 104 Cards total

    we must add 2 jokers to make the total 106

  4. Draft of game termination signal which ends the game when any of the P# decks reaches 0.
alnah005 commented 4 years ago
  1. Only players are allowed to discard cards into dropped cards deck 93833ac