Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 646 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 646 Bytes

Corewar

Corewar 42

grandes lignes :

info necessaires pour le visu initialisation de l'arena gestion cycles/process

stuff to do : big/little endian converter opcode interpreter : validation of argument types and values, passings args and argtypes to functions so they can adapt behaviour to input types write them so the signature accepts multiple entry types (use a wrapper ?)

Questions : after the opcode is read are the encoding bytes/args read after of before the wait ? when do processes live/die ? if args or encoding byte are invalid how does the PC move ?

[embed]https://cdn.intra.42.fr/pdf/pdf/6250/corewar.fr.pdf[/embed]