merging buttonActions
adding gameovermenu
merging gamestate
merging end game