adding 'winning/gameover' logic and checks