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

Error in bricks.bricktype_to_quad function #8

Open
cs50msc opened this issue Oct 6, 2020 · 0 comments
Open

Error in bricks.bricktype_to_quad function #8

cs50msc opened this issue Oct 6, 2020 · 0 comments

Comments

@cs50msc
Copy link

cs50msc commented Oct 6, 2020

Hi.

I think there may be an error in bricks.bricktype_to_quad function, in chapter 2, item 5.

The function signature is: function bricks.bricktype_to_quad( bricktype )

However, bricktype is never used. Instead of it, id is used where bricktype should be.

Therefore, the function signature should be function bricks.bricktype_to_quad( id ).

I hope I have helped.

By the way, great job with this tutorial! Congrats! I am learning a lot with it.

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

1 participant