nMars - Core War MARS for .NET 

nMars Console

Overview

nMars console

Usage

General

-@  file  load options from text file (pMars compatible)
-@l file  load project from xml file
-@s file  save project to xml file, (use .nmproj extension)
-nP name  Change parser component
-nE name  Change engine component
-v Component versions

Rules

-r #      Rounds to play [1]
-s #      Size of core [8000]
-c #      Cycles until tie [80000]
-p #      Max. processes [8000]
-l #      Max. warrior length [100]
-d #      Min. warriors distance
-S #      Size of P-space [500]
-f #      Fixed position series

Dumps

-b        Brief/silent parser mode
-bh       No header
-bl       No logo
-bs       No status
-br       No match results
-ue .ext  Dump warriors to files with extension
-uo       Dump warriror format with offset [off]
-ul       Dump warriror format with labels [off]
-up       Dump warriror format with expressions [off]
-uc       Dump warriror format with comments [off]
-ux       Dump warriror format xml

Debugger

-e        Interactive debugger mode

Examples

To use it as parser only:

nMars.exe -r 0 aeka.red -bl -bh

Fixed position of second warrior:

nMars.exe aeka.red flashpaper.red -f 4321

Interactive:

nMars.exe -b -e aeka.red flashpaper.red

Implementation

Section will be written soon.