script to run the game