Skip to content
Sign upLog in
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
1

Rand function is not working

ChimaNwosu1
ChimaNwosu1

Hey guys, If you look on the class.h file and scroll down to line 71-74 you will see the the rand() function being used. However, when this code is being implemented when "O" hits the fruit "F", the "F " eventually disappears from the screen as if the parameter width and height are nonexistent. How can I solve this problem?

3 years ago

Voters

Comments

TopNew
1
DynamicSquid
DynamicSquid

It seems to be working fine for me...

3 years ago
1
ChimaNwosu1
ChimaNwosu1

@DynamicSquid
Yea that's the thing keep doing it until the score is 30 it will eventually disappear midway.

3 years ago
Load more