Moved gameplay code to PlayState class