tinytetris
tinytetris copied to clipboard
Return score
Return the score after execution.
Why return it? Who's going to look at the return value?
Hi Taylor,
Seems a nice feature to me, when calling it from a bash script. For example mail the score to friends or put it on twitter, without having to do this in C++.
By the way, saw that 255 is the ultimate high score because it is an int. I haven’t played enough to overflow this... yet 😋
Thanks for sharing your game and show how to accomplish this in so few lines of code.
With kind regards, Mark Jans
Op 4 apr. 2019 om 20:43 heeft Conor Taylor [email protected] het volgende geschreven:
Why return it? Who's going to look at the return value?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.