War is a classic children's card game where each player has a stack of cards. A round is performed by flipping over the top card in each stack; the player who plays the card with the highest number takes all cards played and adds them to the bottom of their stack.
Ties trigger the titular war; all tied players place three cards face-down and a fourth one face-up, and the placer of the highest card wins all cards in play. If another tie occurs, another war is started. If a player does not have enough cards to finish a war, they place their last card face-up.
This project is currently licensed under a [Creative Commons By-NC-SA license]
CC, mostly because I was too lazy to write my own assert
function.
A few important libraries are used:
- MooTools - MIT license
- Jasmine - MIT license
- jasmine-dom - MIT license
As with all software, there are a number of improvements that can be made. Take a look at the issue tracker for more information.