working spacebar on game