Card game engine written in coffee-script
CoffeeScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore first commit Dec 17, 2011
LICENSE first commit Dec 17, 2011
README.md first commit Dec 17, 2011
cards.coffee first commit Dec 17, 2011

README.md

(c) 2011 Chad Etzel - http://jazzychad.net/ MIT License

A simple (for now) card game engine written in coffee-script. More to come like realistic shuffling and cutting.

Right now, the compiled js file will run under nodejs and play a game of War and display some output about the game including the rounds and the winner of the game. The code that handles the 'war' case is particularly ugly, but that could be refactored.

This is my first foray into coffee-script.