Hi guys,
So I've been using some code in my games for awhile, that goes something like this. Is there a name for it? Example below.
int cheeseburgers=random(1,10);
void main()
{
speak("You have "+(cheeseburgers>=1?"plenty of cheeseburgers to eat":"to go buy more cheeseburgers! You're running low!");
Any help would be appreciated.
Pages 1