merged main2.py into the game