Checkers game in coffeescript