functions corresponding to 16 carry operations which they can perform on the game field.
special dump function with output identical to output of reference virtual machine.
log functions with output identical to output of reference virtual machine with flag "-v N".
script to compare output of two corewar programs with the same arguments.
To run test edit paths to champions files in src_vm/test_output.sh then run:
./src_vm/test_output.sh
or with arguments
./src_vm/test_output.sh -d 10000 -v 31
Created:
To run test edit paths to champions files in src_vm/test_output.sh then run:
./src_vm/test_output.sh
or with arguments./src_vm/test_output.sh -d 10000 -v 31