Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Game Restart and Circular Imports #24

Open
007vedant opened this issue Oct 13, 2020 · 0 comments
Open

Game Restart and Circular Imports #24

007vedant opened this issue Oct 13, 2020 · 0 comments

Comments

@007vedant
Copy link
Contributor

007vedant commented Oct 13, 2020

  1. Game music continues even after ESC is pushed and the menu appears again. Music must be restarted.
  2. Resolve circular import issues
    1. root should not import main, the restart (ESC) logic should be implemented in game-loop of main.py itself so modify root.py accordingly so that it does not contain import of game_menu() of main.py
    2. Use quit() instead of sys.exit()
    3. Remove unsused variables.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant