moved gameplay into own file