Corewar Corewar Versions Save

Typescript implementation of red code parser and core simulator for the classic game Corewar

v0.2.0

4 years ago

v0.2.0 Multi-round Matches, Hills and Benchmarks

See details on the Project Board

New Features

  • Introduce multi-round match API allowing multiple rounds to be executed and the outcome reported
  • Introduce hill API allowing multi-round matches to played in a round robin scheduling system with outcome reported
  • Introduce benchmark API allowing each warrior in a benchmark to play a multi-round match against a single warrior with outcome reported

Enchancements

  • IParseResult now includes a success flag indicating whether any errors occurred during parsing
  • A WARRIOR_DEAD message is published when a warrior is reduced to 0 tasks during a round
  • In addition to runProgress percentage, ROUND_PROGRESS message now includes current cycle number cycle and the maximum number of cycles maximumCycles

Bug-fix

  • #193 - A decrement and add should now work the same as in pmars

Technical

  • Now using jest as test runner
  • Introduced eslint and fixed all lint errors
  • Now using path aliasing
  • Removed webpack
  • Introduced typings to npm package
  • Enums now utilise string literals

v0.1.0

5 years ago

0.0.72

6 years ago

0.0.20

6 years ago

Testing creating a release