visualization is implemented in python 3 using pyside2 - Qt framework port for python
$ pip install pyside2
to run the visualizer use:
$ corewar_visual.py
but usually you need something like:
$ ./corewar batman.cor | ./corewar_visual.py
or
$ ./corewar batman.cor | python3 corewar_visual.py
as corewar_visual.py
expects data from corewar
on its stdin
to run in demo mode you can use vm_output_emu.py
as a source for stdin of corewar_visual.py
:
$ ./vm_output_emu.py | ./corewar_visual.py
on windows the command is:
python vm_output_emu.py | python corewar_visual.py