Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jackc/math_game
https://github.com/jackc/math_game
Last synced: 24 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jackc/math_game
- Owner: jackc
- License: mit
- Created: 2014-04-18T17:41:19.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-02-05T14:25:42.000Z (almost 8 years ago)
- Last Synced: 2023-03-10T19:08:33.905Z (over 1 year ago)
- Language: Ruby
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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