Game Encoder

Class for encoding the current game state. For the moment it is working
only for PvZ games.