<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.knoxmakers.org/history/Core_War?feed=atom</id>
	<title>Core War - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.knoxmakers.org/history/Core_War?feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.knoxmakers.org/history/Core_War"/>
	<updated>2026-04-07T15:35:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://wiki.knoxmakers.org/index.php?title=Core_War&amp;diff=2&amp;oldid=prev</id>
		<title>Relativeprime: Created page with &quot;== Intro ==  From the Core Wars FAQ:  &quot;Core War is a game played by two or more programs (and vicariously by their authors) written in an assembly language called Redcode and run...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.knoxmakers.org/index.php?title=Core_War&amp;diff=2&amp;oldid=prev"/>
		<updated>2011-04-03T01:51:20Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Intro ==  From the Core Wars FAQ:  &amp;quot;Core War is a game played by two or more programs (and vicariously by their authors) written in an assembly language called Redcode and run...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Intro ==&lt;br /&gt;
&lt;br /&gt;
From the Core Wars FAQ:&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Core War is a game played by two or more programs (and vicariously by their authors) written in an assembly language called Redcode and run in a virtual computer called MARS (for Memory Array Redcode Simulator). The object of the game is to cause all processes of the opposing program to terminate, leaving your program in sole posession of the machine.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
http://en.wikipedia.org/wiki/Core_wars&lt;br /&gt;
&lt;br /&gt;
http://www.corewar.info/emulator.htm&lt;br /&gt;
&lt;br /&gt;
== Get Core War ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;pMars (use this)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
http://www.koth.org/pmars/&lt;br /&gt;
&lt;br /&gt;
 wget ftp://ftp.univie.ac.at/systems/linux/fedora/updates/13/i386/pmars-0.9.2-4.fc13.i686.rpm&lt;br /&gt;
 wget ftp://ftp.univie.ac.at/systems/linux/fedora/updates/13/x86_64/pmars-0.9.2-4.fc13.x86_64.rpm&lt;br /&gt;
&lt;br /&gt;
Or . . . http://sourceforge.net/projects/corewar/files/ (Source and some binary packages here, but are pretty old and 32 bit only)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Running 64 bit?&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
If you try to compile the source and get the message &amp;quot;GLIB &amp;gt;= 1.2.0 not installed - cannot build GUI client without it&amp;quot;, despite having glib2-devel installed, it seems to be looking for the glib-config script, which was replaced in later glib versions with pkg-config as described [http://mail.gnome.org/archives/gtk-list/2002-April/msg00190.html here] You might be able to use the 32 bit dev package as described [http://forums.opensuse.org/english/development/programming-scripting/445282-opensuse-x86_64-glib2-package-32-bit-development.html here], though I&amp;#039;ve not tried it. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Using Debian / Ubuntu?&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
You can download the source and build it. On 32 bit Ubuntu 10.04 I had no trouble with &amp;#039;cd src&amp;#039; and then just &amp;#039;make&amp;#039; which resulted in the pmars binary being correctly built. It may fail on 64 bit as described above. You can then do a sample run with two warriors like:&lt;br /&gt;
&lt;br /&gt;
 user@host:~/pmars-0.9.2$ src/pmars warriors/aeka.red warriors/rave.red &lt;br /&gt;
&lt;br /&gt;
The default option in the makefile built in X11 support automatically. I believe there is an ncurses option too.&lt;br /&gt;
&lt;br /&gt;
(You can also use alien to make a .deb from the .rpm and just install that.)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Running Windows?&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Really? Windows? Well - okay. (Let&amp;#039;s talk at the next meeting okay?) But if you must, you can likely find some Windows binaries [http://www.corewar.info/emulator.htm here]&lt;br /&gt;
&lt;br /&gt;
== Sample Run ==&lt;br /&gt;
&lt;br /&gt;
Sample run using two provided warriors:&lt;br /&gt;
&lt;br /&gt;
 user@host:~&amp;gt; pmars -r 3 /usr/share/doc/pmars-0.9.2/warriors/aeka.red /usr/share/doc/pmars-0.9.2/warriors/rave.red&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
Start with corewar-faq.html (in the doc directory if installed from source, or usr/share/doc/pmars-0.9.2/doc/corewar-faq.html if from rpm)&lt;br /&gt;
&lt;br /&gt;
Then move on to this [http://vyznev.net/corewar/guide.html beginners guide] and other guides found [http://www.corewar.info/beginner.htm here]&lt;br /&gt;
&lt;br /&gt;
Additional documentation can be found [http://corewar.co.uk/guides.htm here]&lt;br /&gt;
&lt;br /&gt;
== Competition ==&lt;br /&gt;
&lt;br /&gt;
Various competitions can be held, such as this king of the hill one [http://sal.math.ualberta.ca/index.php here]&lt;br /&gt;
&lt;br /&gt;
== Other Simulators ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;nMars&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Looks interesting, but needs .net / mono&lt;br /&gt;
&lt;br /&gt;
http://nmars.sourceforge.net/screenshots.shtml&lt;/div&gt;</summary>
		<author><name>Relativeprime</name></author>
	</entry>
</feed>