Civil War Strategy Game (Part 2): The Main Routine Continued
We look at what subroutines are and why they are useful. We discuss arguments and parameters, and how to call a subroutine.
We look at what subroutines are and why they are useful. We discuss arguments and parameters, and how to call a subroutine.
First steps through the main routine of our game touching upon game state variables, line labels, GOTO, and so on.
I’ve enjoyed playing W. R. Hutsell’s series of turn-based war games since childhood. Mr. Hutsell generously provided me with the source code to these games and has allowed me to release that code under an MIT license. The first game I’ve worked on is VGA Civil War Strategy which was written in several iterations of …
Civil War Strategy Game (Part 0): An Introduction Read More »