Linguistic Input
This crude system permitted some surprisingly rich play, largely because the core input structure was linguistic: Orders are sentences. A player would enter “4x7” to say “Tank #4 ordered to fire at enemy Tank #7.” The display shown in Figure 13.3 was obtained by merely pressing the “3” key; any additional keypresses would have been added to its orders queue shown in the second line of the display.
The orders queue is the trickiest part of the user interface. Each tank may have up to five orders in its queue at any given time. This limit was imposed by the display; I could have stored more orders for each tank but then they would have been invisible or the display would have become cluttered. The problem was that the orders queue ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access