Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 494 Bytes

README.md

File metadata and controls

42 lines (27 loc) · 494 Bytes

Turnorder

Install

npm install

Run locally

node index.js

Run tests

npm test

Todo

  • control on mobile
  • click to draw a card
  • pwa: fix theme and background colors
  • when karma supports it: JS modules
  • flip cards
  • shuffling
  • see first card and put it on top or bottom
  • history
  • save games
  • synchronize with multiple clients
  • only allow drawing from the top
  • shake to shuffle

CardStack

  • isEmpty?
  • shuffle
  • draw
  • revealTopCard
  • putTopCardToBottom