Update mini-project-3.py

game logic implemented