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

Terrain Tiles

These are the tiles that make up the main map; you can see the alterable values for a terrain tile in Figure A.3.

Figure A.3. The alterable value slots for the terrain tiles.

The slots are as follows:

Movement 7: This contains a value of either 0 or 1. If the value is a 0, a unit can move in this keyboard direction; if it contains a 1, this means the tile is an edge unit and there are no tiles in that direction.

Movement 8: This contains a value of either 0 or 1. If the value is a 0, a unit can move in this keyboard direction; if it contains a 1, this means the tile is an edge unit and there are no tiles in that direction.

Movement ...

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