General Game AI
- Reviews of game AI
- AI Game Programmers Guild
- IEEE article on Making the Jump Into Games
- textbook website
- Microsoft Visual Studio 2010 Express is the IDE for Bzflag on Windows.
- For installing bzflag on Windows, dowload the source code, version 2.4.2 from bzflag's Downloads page and follow the Win95/NT instructions in the README.WINDOWS file. The VS project file is in MSVC\build\bzflag.vcxproj (double click it to start Visual Studio). The README.WINDOWS file tells you to install the DirectX SDK (easy package install) and curses. For curses, you can either build it from source code (in src\other\PDCurses with the VS project file in the same directory as the bzflag project file) or download pdcurses and in Visual Studio, select bzflag in the left panel, then under the Project menu, select Properties. In the popup baflag Properties Pages, select Configuration Properties: VC++ Directories and add your unzipped pdc25_vc_w32 directory to both Include Directories and Library Directories. Also, after building bzflag in VS, but before running/debugging the application, copy curses.dll from pdc25_vc_w32 into bzflag-2.4.2\bin_Win32 where libcurl.dll should be already. Also, change the bzflag Properties: Configuration Properties: Debugging: Command to be the full path to bin_Win32\bzflag.exe or better yet ..\..\bin_Win32\bzflag.exe and the Working Directory to be ..\..\bin_Win32 (or the full path) as specified in the README.WINDOWS file. If running/debugging bzflag causes lots of flickering/tearing in the video, try updating your video card driver (bzflag suggestion) or changing your video card 3D settings to override the application settings and always use 2x (or higher) oversampling (worked for me on my NVIDIA card).
- To debug bzflag in Visual Studio 2010, also change the bzflag Properties: Configuration Properties: C/C++: Output Files: Program Database File Name to be the full path to your bin_Win32 folder or to $(LocalDebuggerWorkingDirectory).
- If you are running a server on the same machine as your client and you cannot connect to your sever via the "Find Server" menu in bzflag with a alphabetic host name like "localhost" (seems to happen on the UH wireless network), try typing in the numeric IPv4 address for the server (on Windows, you can look up your IP address by running cmd.exe and typing "ipconfig", then look for the IPv4 Address, which should be something like 184.108.40.206). The numeric address 127.0.0.1 is equivalent to "localhost" and this may work for you, so you can avoid calling ipconfig to get the actual IP address.
- To run bzflag with robots, add "-solo N" without the double-quotes where N is the number of robot tanks to the command line or to Configuration Properties: Debugging: Command Arguments for debugging bzflag.
- If when compiling bzflag, you get a link error involving regfree, regex, regcomp, regerror, regexec, etc., try adding regex.lib to bzflag's Properties: Configuration Properties: Linker: Input: Additional Dependencies. Also add $(MSBuildProjectDirectory)\regex_Win32_Debug to bzflag's Properties: Configuration Properties: VC++ Directories: Library Directories. You can also use the full path, but if you ever move or copy the bzflag-2.4.2 directory, you will have to remember to change these values.
- Ethan pointed out on the Laulima Discussion List that if you have a multiprocessor CPU, you can set bzflag's Properties: Configuration Properties: C/C++: General: Multi-processor Compilation to Yes (?MP) for faster compilation.
- To run bzfs, run "bzfs -conf configuration_file_name.conf" in a cmd.exe window. You can also run it from within VS10, but be sure to change the Debugging Configuration Properties for Command, Working Directory and Command Arguments just like you did for bzflag.
- Proofreader's Glossary by McGraw Hill.
- Get it Write Online explains very well the difference between Which or That?
- GrammarBook.com lists rules for when to use Commas
David N. Chin / Chin@Hawaii.Edu