Basic game logic.
Some tests, finally.