Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.


+2 votes

I was originally using negative gameSpeed above/below the edge of the window, but it doesn't seem to work.

asked in CSC201 Spring 2021 by (1 point)

1 Answer

+2 votes

I built it into my move function, so it doesn't let you move a certain direction if you're against the edge of the window.

answered by (1 point)

you could use if statement.