#8
added setter/getter for game state;
game loop started only once and keep count of game state;
if game finished change state