Skip navigation links

Package redHandling

The redHandling package with its main class RedFileManager was created to parse and transfer RedCode files or strings into a data structure for latter computation.

See: Description

Package redHandling Description

The redHandling package with its main class RedFileManager was created to parse and transfer RedCode files or strings into a data structure for latter computation. This whole data structure is also part of the package and mainly consists of Warriors and RedCodeArrayLists of type Instruction. Parsing is supposed to be handled exclusively through RedFileManager unless single lines have to be checked. Single lines may be parsed using RedCodeLineParser. For game computations the creation of a core of type RedCodeArrayList is recommended.

This package was developed as a part of the NetWars project.The NetWars program was made by a group of students at the Chemnitz University of Technology in 2016. Main task was to implement a CoreWars game based on the standard documentation hosted on www.corewars.org and corewar.co.uk. This implementation of NetWars supports RedCode written in 88'standard (http://corewar.co.uk/standards/icws88.txt). It was also designed to be upgradeable to the 94'standard (http://corewar.co.uk/standards/icws94.txt).
Version:
2.4
Author:
Richard Siegel
Skip navigation links