refactor to support > 1 game type

The game logic has been moved to a pluggable module so other games can
be implemented. The old 4 inline logic is now in toogie_c4_game.