implemented phase 0 and phase 1 of the game in main()
-camoz