"""
A GUI-based zombie survival game wherein the player has to reach
the hospital whilst evading zombies.
"""


import tkinter as tk
from game_support import advanced_game
from constants import TASK, MAP_FILE

# Uncomment the following imports to import the view classes that represent
# the GUI for each of the tasks that you implement in the assignment.
from task1 import BasicGraphicalInterface
from task2 import ImageGraphicalInterface
# from csse7030 import MastersGraphicalInterface


def main() -> None:
    """Entry point to gameplay."""
    game = advanced_game(MAP_FILE)

    root = tk.Tk()
    root.title('EndOfDayz')
    if TASK == 1:
        gui = BasicGraphicalInterface
    elif TASK == 2:
        gui = ImageGraphicalInterface
    # else:
    #     gui = MastersGraphicalInterface
    app = gui(root, game.get_grid().get_size())
    app.play(game)
    root.mainloop()


if __name__ == '__main__':
    main()

da88207ccc526580b63012e2627188d0638a7cc4
<mask token>

<mask token>


def main() ->None:
    """Entry point to gameplay."""
    game = advanced_game(MAP_FILE)
    root = tk.Tk()
    root.title('EndOfDayz')
    if TASK == 1:
        gui = BasicGraphicalInterface
    elif TASK == 2:
        gui = ImageGraphicalInterface
    app = gui(root, game.get_grid().get_size())
    app.play(game)
    root.mainloop()


<mask token>

<mask token>


def main() ->None:
    """Entry point to gameplay."""
    game = advanced_game(MAP_FILE)
    root = tk.Tk()
    root.title('EndOfDayz')
    if TASK == 1:
        gui = BasicGraphicalInterface
    elif TASK == 2:
        gui = ImageGraphicalInterface
    app = gui(root, game.get_grid().get_size())
    app.play(game)
    root.mainloop()


if __name__ == '__main__':
    main()

<mask token>
import tkinter as tk
from game_support import advanced_game
from constants import TASK, MAP_FILE
from task1 import BasicGraphicalInterface
from task2 import ImageGraphicalInterface


def main() ->None:
    """Entry point to gameplay."""
    game = advanced_game(MAP_FILE)
    root = tk.Tk()
    root.title('EndOfDayz')
    if TASK == 1:
        gui = BasicGraphicalInterface
    elif TASK == 2:
        gui = ImageGraphicalInterface
    app = gui(root, game.get_grid().get_size())
    app.play(game)
    root.mainloop()


if __name__ == '__main__':
    main()

"""
A GUI-based zombie survival game wherein the player has to reach
the hospital whilst evading zombies.
"""


import tkinter as tk
from game_support import advanced_game
from constants import TASK, MAP_FILE

# Uncomment the following imports to import the view classes that represent
# the GUI for each of the tasks that you implement in the assignment.
from task1 import BasicGraphicalInterface
from task2 import ImageGraphicalInterface
# from csse7030 import MastersGraphicalInterface


def main() -> None:
    """Entry point to gameplay."""
    game = advanced_game(MAP_FILE)

    root = tk.Tk()
    root.title('EndOfDayz')
    if TASK == 1:
        gui = BasicGraphicalInterface
    elif TASK == 2:
        gui = ImageGraphicalInterface
    # else:
    #     gui = MastersGraphicalInterface
    app = gui(root, game.get_grid().get_size())
    app.play(game)
    root.mainloop()


if __name__ == '__main__':
    main()
