https://github.com/stewsquared/scalajs-proset
A sample Scala.js game implementation. Uses scalatags, utest, and scalajs-jQuery.
https://github.com/stewsquared/scalajs-proset
Last synced: about 1 month ago
JSON representation
A sample Scala.js game implementation. Uses scalatags, utest, and scalajs-jQuery.
- Host: GitHub
- URL: https://github.com/stewsquared/scalajs-proset
- Owner: stewSquared
- Created: 2015-01-13T15:06:50.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-07-19T21:36:53.000Z (almost 11 years ago)
- Last Synced: 2025-01-15T10:56:46.793Z (over 1 year ago)
- Language: Scala
- Homepage:
- Size: 164 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Game Rules:
The deck has 63 distict cards. At any given time, the top 7 cards are
displayed. The goal is to collect legal subsets (prosets) of the
upcards until the deck is empty. Every time a proset is taken, the
upcards are re-stocked from the deck.
A legal set is one such that there are an even number of every
position of dot. Another way to think of it is that each card
represents a number in binary. A proset is one that reduces to zero
with XOR.
Click a card to select/deselect. Double click the table to submit.
If your submission is invalid, your cards will be deselected. Otherwise,
new cards will appear as long as the deck is non-empty.