| Package | Description |
|---|---|
| mars |
The mars package is used for running a whole game of NetWars.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) Players |
PlayersTest.testPlayer
testPlayer
Instantiation of a test player
|
| Modifier and Type | Method and Description |
|---|---|
protected static int |
Command.mov(int instrID,
Instruction instruction,
RedCodeArrayList<Instruction> core,
Marker marker,
Players playerList,
GameHistory gameHistory)
mov
replaces an existing instruction addressed in field B of the instruction with field A corresponding to its
addressing mode.
|
protected static int |
Command.spl(int instrID,
Instruction instruction,
RedCodeArrayList<Instruction> core,
Players playerList)
spl
it adds the address in field A as a new process to an alternating list of processes.
|