Added screenshot method
Game state transitions implemented