Is there a name for this type of code?

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.

-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
  • ... AudioGames . net Forum — Developers room : tunmi13 via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : nolan via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : tunmi13 via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Ty via Audiogames-reflector

Reply via email to