|
There's a 10 year old robot programming game for the Macintosh, and I think for the PC now also, called Robowar, that uses a FORTH like approach ie storing everything on a stack.
To check if there is another robot in view, you say:
range 0 > if shootit.
The guy who created the game, claimed that it was the easiest way to create the programming interface.
Actually many advanced HP Calculators have an option to work the same way, called Reverse Polish Notation (ie 6 enter, 5 + leaves 11 on the display).
__________________
FIRST Team 980, The ThunderBots
2002: S. California Rookie All Stars
2004: S. California: Regional Champion,
Championship Event: Galileo 2nd seed,
IRI: Competition Winner, Cal Games: Competition Winner
2005: Arizona: 1st seed
Silicon Valley: Regional Champion (Thanks Teams 254 and 22)
S. California: Regional Runners Up (Thanks Teams 22 and 968)
|