updating of gamestate (finally) works
finished win detection