Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from PPlay.mouse import Mouse
import pygame
import constants
from menu import create_menu, play, handle_menu
from menu import handle_menu

pygame.init()

Expand All @@ -14,16 +14,6 @@

bg = GameImage("./assets/bg.jpeg")

# Define os estados do jogo
MENU = 0
PLAYING = 1
DIFFICULTY = 2
RANKING = 3
EXIT = 4

# Estado inicial
state = MENU

while True:

bg.draw()
Expand Down