PHP + game_win

Used php to clean up code for games