finished game

code of finished playable game