joliss/solitr — pull request #1 by wiseleyb (2012-03-10 04:04:45+00:00)
Title: Added hints button

Joliss,

Nice code!

This is still pretty rough but I thought I'd send you a pull request incase you were interested.

How do I run tests? I couldn't figure that part out but like testing so will add them when I figure it out.

I'm using your code base to do a genetic-algorithm example. Step one was to get some kind of "hint" functionality. Step 2 - make hint return list of possibly moves and have ga rules decide the best move. Step 3 - breed. That kind of thing.

In any case - I'll be improving the hint function a bit more before ga'ing the code - which I'll sub class out like I did hints. I tried not to touch much of your code. I'm pretty new to coffeescript so I probably made a bunch of stupid mistakes.

Anyway - thanks for the code - awesome engine to base the ga work on.

Sample app up on http://solitr.herokuapp.com/klondike-turn-three-hints

-ben
Sydney, Australia
(from Seattle, WA, USA)