#My first game (C++).
2 messages · Page 1 of 1 (latest)
I suggest you to put parentheses on (rand() % range) + 1. also you can add "between 1 and" << range. The user wouldn't know if it's from 0 or from 1.
2 messages · Page 1 of 1 (latest)
Yeah, it's just "Number Guessing" game, nothing unique, but it's good enough for me.
I suggest you to put parentheses on (rand() % range) + 1. also you can add "between 1 and" << range. The user wouldn't know if it's from 0 or from 1.