Skip to content

rybla/patchwork-purs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

patchwork-purs

bun install
bun run Simple1

TODO

  • validate chosen turn action
    • can only choose "buy" if you can afford at least one of the patches available to buy
    • can only choose "wait" if you have non-0 time left
  • validate button/time spend
    • this must happen inside of widget, before raising output
  • validate patch placement
    • this must happen inside of widget, before raising output
  • rules for collecting leathers when spend certain amounts of time first
  • detect end of game
  • keep running count of scores
  • rule for collecting the bonus when you make a 7x7 square
  • get buttons when you wait
  • UI for choosing how long to wait
  • get button income when passing certain times
    • count buttons on quilt
  • in addition to time, each player must also keep track of what turn of the game they last moved on, so that when both players have equal time, the player that moved on the more recent turn actually gets to move next
  • detect and update winner correctly

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors