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

hitting corners #1

Open
Mehty opened this issue Jun 21, 2018 · 1 comment
Open

hitting corners #1

Mehty opened this issue Jun 21, 2018 · 1 comment

Comments

@Mehty
Copy link
Member

Mehty commented Jun 21, 2018

when Pacman hits the corners it stops but, as an example, if it hits the right corner, if you press the right key it moves right which should not and if you press up or down it moves and stops but it should continue moving upward or downward.

astoanne pushed a commit that referenced this issue Jun 26, 2018
@astoanne
Copy link
Collaborator

I found it hard to handle the case when the man hits, say the top wall, and still moves continuously to right or left if there is only one variable controlling movement. But the code would look so much more elegant with one moving. Want to know if there is a way to do it. I am now trying to make the man face the right direction...

Mehty added a commit that referenced this issue Jun 26, 2018
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

No branches or pull requests

2 participants