Skip to content

Game Restart and Circular Imports #24

@007vedant

Description

@007vedant
  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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions