This is a largely clean-room, functional implementation in Racket of the game 2048, based on 1024, cloned from the original iOS game Threes (development blog).
HOW TO PLAY:
- Use the arrow keys to slide the tiles.
- When two tiles with the same number touch, they merge into one!
One of the nice things about 2048 is how many creative variations have been devised.
What can the Racket community do with it?
- Use the SPACE key to rotate the board.
- Choose a different grid-size (side in the code)
- Time elapsed or Time remaining (time-limit in the code)