added game restarting and pausing/unpausing