Skip to content

Change in next_level()#27

Open
henriqueandras wants to merge 2 commits intoSchulich-Ignite:mainfrom
henriqueandras:new-level
Open

Change in next_level()#27
henriqueandras wants to merge 2 commits intoSchulich-Ignite:mainfrom
henriqueandras:new-level

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