add a check to see if player won, added TODOs