-
Notifications
You must be signed in to change notification settings - Fork 3
Starting a New Game
Atlantis is a command line program, all the examples here are meant to run on the command line.
-
Create a directory for your new game (you'll probably want all your games in one place, and you'll need to execute the Atlantis program a lot, so it's recommended to create a directory under the atlantis build area)
% mkdir MyGame
-
Make a directory for the first turn (it's recommended to keep each turn in its own directory)
% cd MyGame; mkdir turn0; cd turn0
-
When you create a new game, you can specify the random seed. Using the same seed will create the same map (useful for testing)
% ../../ceran.exe new 1234
Atlantis Engine Version: 4.1.0
Ceran, Version: 2.0.4 (beta)
How wide should the map be?
32
How tall should the map be?
32
-
The game will print the engine version (4.1.0) and rules version (Ceran, 2.0.4). It will then ask for the width and height of the map. The numbers must be a multiple of 8 (because underground levels can halve the value, and there are 3 types of them :)) It will then print out the various stages of world creation.
-
The current directory will then have "game.out" and "players.out". Each turn, you'll need to copy these to "game.in" and "players.in" (usually in a new directory). There's a script to do this in scripts/nextTurn.tcl - run it in the main game directory (it will find the highest number "turn*" directory, make the next one, and copy in the files)
% cd ..; ../../scripts/nextTurn.tcl; cd turn1
-
Add the first set of players (see the pending instructions) to "players.in", then generate the first effective turn ("report.3" is the first human player, "report.4" is the second, etc.)
% echo Faction: New >> players.in
% echo Name: Testers >> players.in
% ../../ceran.exe run
-
When the players finish their turns, make a new directory for the next turn, copy in the orders.N files and generate the next turn
% cd ~/atlantis/ceran/MyGame
% ../../scripts/nextTurn.tcl
% cd turn2
% cp ~/Downloads/orders.3 .
% ../../ceran.exe run
-
Repeat until the game ends!