Editing Core War Competition

Jump to: navigation, search

Warning: You are not logged in.

Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
'''Next Core War Competition''': none planned
 
 
This page holds some information for Core War events hosted by LUG@UCLA.
 
 
 
== Reading Material ==
 
== Reading Material ==
 
Preparation reading material to get new competitors up to speed:
 
Preparation reading material to get new competitors up to speed:
Line 10: Line 6:
 
* [{{SERVER}}/~sankeytm/corewar/trilogy.html rock, paper, scissors, etc.] — now that you have an idea how to write Redcode, here are some high level warrior techniques that may help you get started with designing your own warrior.
 
* [{{SERVER}}/~sankeytm/corewar/trilogy.html rock, paper, scissors, etc.] — now that you have an idea how to write Redcode, here are some high level warrior techniques that may help you get started with designing your own warrior.
  
== Competitor info ==
+
== Competition Info ==
  
Your warrior source code will need some metadata in the header, like this:
+
Your warrior source code will need some metadata in the header, so I have provided a template:
  
 
  ;redcode-94
 
  ;redcode-94
Line 20: Line 16:
 
  MOV 0, 1
 
  MOV 0, 1
  
Replace "My Warrior" with the name you want to give your warrior, and "John Doe" with your name. We will be using the Redcode-94 standard as outlined in the beginner's guide linked above. Name the file <code>mywarrior.red</code> or similar.
+
where My Warrior is the name you give to your warrior, and John Doe is your name. We will be using the Redcode-94 standard as outlined in the beginner's guide linked above. Name the file mywarrior.red or similar.
 
+
== Competition instructions ==
+
 
+
Once everybody has written their warrior code, the competition may begin.
+
  
 
The competition machine needs to have pMARS installed (the ''most'' official Core War simulator). Download it [{{SERVER}}/~sankeytm/corewar/pmars-0.9.2.tar.gz here], and install:
 
The competition machine needs to have pMARS installed (the ''most'' official Core War simulator). Download it [{{SERVER}}/~sankeytm/corewar/pmars-0.9.2.tar.gz here], and install:
Line 39: Line 31:
  
 
  $ ./pmars -b path/to/warrior0 path/to/warrior1
 
  $ ./pmars -b path/to/warrior0 path/to/warrior1
 
Have a lot of fun!
 
 
 
[[Category:Events]]
 

Please note that all contributions to Wiki | LUG@UCLA are considered to be released under the Creative Commons 0 (see UCLALUG Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)