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

Change in next_level() #27

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

henriqueandras
Copy link

No description provided.

Comment on lines +73 to +75


def next_level(level, levels):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra spaces between comment and function should be removed

Suggested change
def next_level(level, levels):
def next_level(level, levels):

Comment on lines +119 to 121
# Get position of mouse as a tuple representing the
mouse_pos = pygame.mouse.get_pos()
# (x, y) coordinate
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code formatting makes this weird.

Suggested change
# Get position of mouse as a tuple representing the
mouse_pos = pygame.mouse.get_pos()
# (x, y) coordinate
# Get position of mouse as a tuple representing the (x, y) coordinate.
mouse_pos = pygame.mouse.get_pos()

@AlphaRLee
Copy link
Member

Sorry for confusing instructions, let's keep the changes made to game/main.py but get rid of the changes made to session7/main.py. We're teaching the next_level() mechanics in session 7 so it doesn't make sense to have that here before we teach it. This is good for the final product though

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

Successfully merging this pull request may close these issues.

2 participants