Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jackc/math_game


https://github.com/jackc/math_game

Last synced: 24 days ago
JSON representation

Awesome Lists containing this project

README

        

# Math Game

This project brute forces the puzzle given on page 212 of the excellent book [The Art of Game Design by Jesse Schell](http://artofgamedesign.com/). See the accompanying [blog post](http://jackchristensen.com/2009/08/08/solving-a-math-puzzle-with-ruby.html) from 2009 for more details.

To run the solver (it will take a while to run):

ruby -I. runner.rb

To run the tests:

ruby -I. math_game_test.rb