A client for the Yahoo! bingo contest. #complete
Go to file
Elf M. Sternberg 17c8a86bb8 Consistent quotes. I prefer doublequotes as Coffeescript assigns
them a consistent meaning.

Changed the 'BINGO' algorithm to use just numeric coordinates, converting
exactly once from the BINGO to 0..4.

Changed the test-if-won algorithm to create scoped tests with consistent
signatures.  This let me catch an error I missed with the first pass.
2013-12-04 00:26:06 -08:00
.gitignore Bingo client. 2013-12-03 17:19:13 -08:00
LICENSE Updated with Github info and Coffeescript dependency. 2013-12-03 23:54:14 -08:00
README.md Adding perquisites. 2013-12-03 23:45:49 -08:00
bingo.coffee Consistent quotes. I prefer doublequotes as Coffeescript assigns 2013-12-04 00:26:06 -08:00
package.json Updated with Github info and Coffeescript dependency. 2013-12-03 23:54:14 -08:00
package.yml Updated with Github info and Coffeescript dependency. 2013-12-03 23:54:14 -08:00

README.md

Yahoo's running this contest. Read about it here: http://yahoobingo.herokuapp.com/

This took me about 40 minutes, total. I was thinking about re-writing this in Bacon, but my Bacon is pretty raw. At best, I could propertize the cards to create a new card (i.e. a new state) every time a ball came in, but that seemed a little overwrought.

I'm sad that it requires underscore, but Node's native reduce doesn't support object iteration, only arrays.

It was nice to have an opportunity to hack Coffee and Node again.