|
|
|
|||||||
|
|
||||||||
CoreWar This is NOT a violent game where you run around killing people. This is a sophisticated programming game where you design a program (a list of instructions), called a CoreWar warrior, that has to cause the other program to stop running. It does this by causing the other program to run an illegal instruction. No blood.
;redcode
What's all of this mean? And what's it do? This is what a warrior looks like. It would be saved as a file with a .red extension, signifying a redcode warrior. The first line of the warrior, ";redcode", designates the rest of the file to be redcode, the programming language that is used to make warriors. The warrior, with a name like "imp.red", would be run by a MARS (Memory Array Redcode Simulator). A MARS can run more than one redcode program at a time, which is how you have "battles". Two or more redcode warriors are loaded into a MARS program, and the first to stop the other program wins.
Redcode is based around assembly code. Click here for information on the history and basics of assembly code programming. This information file is written by me, and it isn't finished yet, but it's a start. I'll have to put more information on Redcode in later. Until then, if you're interested in CoreWars and Redcode, head over to http://www.koth.org/. Then, download pMARS, and read the "redcode.ref" file. Enjoy! History of CoreWarsI have to work on this section, but until I do, here's a simple rundown of the history of CoreWars.
click here to return to my Recreational Mathematics webpage |
|||||||||
|
|