O'Reilly logo

Going to War: Creating Computer War Games by Jason Darby

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Player Units

These are the units that the player will control around the screen. You can see the alterable values for a unit in Figure A.1.

Figure A.1. The alterable value slots for the unit.

The slots are as follows:

Starting Movement Value: This is the unit’s starting movement value. This value is used to reset the current movement value each turn.

Current Movement Value: This is the number of movement value points that the unit has left. This value is reset after each turn by the starting movement value.

Unit ID: A number used to identify the units. This is mainly for the benefit of the player units.

Movement 7: This contains a value of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required