TurtleWar build 153 Release Notes Copyright 1998-2015 Joe Lowe 2015.09.16 Refer to the included license.txt file for license information. TurtleWar is a bot arena program that allows the creation of automated bot's using a C++ compiler. Operation. Run turtlewar.exe. Alternatively you can run turtlewarcon.exe to allow use of printf while debugging. Keyboard controls. enter - reset backspace - restart pause - pause/resume space - pause/resume right arrow - advance left arrow - rewind escape - exit alt+enter - full screen f11 - full screen Copy the turtlewarsaver.scr, *.bug, and *.turtle files to your %windir%\system32 folder to enable turtlewar as a screen saver. To create a new bug: 1. Start with an existing bug source files as a template, jet.cpp is a good choice. 2. Copy to a new file name, say bob.cpp. 3. Using your favorite text editor, replace "Jet" with "Bob" throughout the file. 4. Setup any version of the MS compiler environment in a cmd prompt. For VC 6 you can use ...\vc98\bin\vcvars32.bat. 5. From the cmd prompt execute: >cl bob.cpp -LD -o bob.bug 6. Place bob.bug in same folder as turtlewar.exe and run turtlewar.exe. 7. Start modifying bob.cpp. Your bug won't get used if you don't create a turtle brain. To create a new turtle brain: 1. Copy simple.cpp to a new file name, say bill.cpp. 2. Using your favorite text editor, replace "Simple" with "Bill" throughout the file. 3. Edit the list of bug names at the start of the file to include the name of your new bug. 4. From the cmd prompt execute: >cl bill.cpp -LD -o bill.turtle 5. Place bill.turtle in same folder as turtlewar.exe and run turtlewar.exe. 6. Modify bill.cpp to change turtle logo or bug selection logic. Look at jet.cpp for an example bug. Look at simple.cpp for an example turtle brain. You can use any windows C compiler. Setup your preferred tool set to build a DLL with .bug or .turtle as the extension. I believe there is a free Borland C compiler available, or you could use GNU tools. I prefer the compiler included with the Windows DDK, available for a $15 handling charge from the MS website.