move keyboard init function to outside
create a new game when click on the restart button
add reset game variable function in game manager file