One player game added fixed code for checking if you won so that it works right always