Skip to content

Latest commit

 

History

History
19 lines (17 loc) · 751 Bytes

File metadata and controls

19 lines (17 loc) · 751 Bytes

gremlins inc clone

server and client, both in dart, communicate over websocket using protobuf 3 wire format

server

  • supports 1 turn of movement and play
  • prevents out-of-turn actions and incorrect action types like moving when you need to play a card
  • no data vaildation (player has card, player has resources)
  • no effects of any kind
  • card data only contains effect-less cards
  • game data
  • shelf server
  • no tests

client

  • no interface, received data is printed to the console
  • button uses first card in hand to move 2 squares
  • button plays first card in hand
  • player-secret information not exposed to other players
  • no tests