For arduino microcontrollers there is a standard display available with 20x4 characters. Such a small text display is a great choice for demonstrating grounded language in action. In an example jump'n'run sidesrolling game, the following text boxes were generated by the event detection engine:
Example 1
-----------
PLAYER ON GROUND
JUMP READY
COIN +1 TOTAL 5
ENEMY NEAR -COVER
Example 2
-----------
DASH COOLDOWN 1.2s
PLATFORM AHEAD 3m
SPIKE! STEP BACK
HEALTH 4/5 POWERUP
Example 3
-----------
FELL -1LIFE
RESPAWN AT CHECKPT
TIME 02:14
KEY ACQUIRED DOOR
Example 4
-----------
SPEED BOOST ACTIVE
ENEMY HIT x2
COMBO 3X +50PTS
SECRET PATH DETECTʼD
From a technical perspective such a textbox is highly efficient. The text occupies very few amount of RAM and because the repeating pattern it can be compressed further.
Even if the description is formulated on a high abstraction layer, its possible to use these information to play the game with an Artificial intelligence. All what is needed are a list of rules for determining what to do in each situation. These rules are not applied to the graphical videogame at 800x600 Pixel resolution but the rules are applied to the text box.
May 03, 2026
Playing a videogame with a textbox
Labels:
Game AI,
Text adventure
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment