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 official IDE for Bzflag on Windows, but it is deprecated, so download Visual Studio Community 2015 and be sure during install to select Custom installation to add Common Tools for Visual C++ 2015 following this MSDN Visual C++ Team Blog. When you start bzflag.vcxproj (see next bullet) for the first time, answer OK to Upgrade VC++ Compiler and Libraries. In AutoPilot.cxx, Plan.cxx, and LocalPlayer.cxx you should add #include <algorithm> to fix an error with min and max not being defined. Also there is a problem with isnan being defined in both bzflag's common.h and in Microsoft's math.h, so in the files playing.h, LocalPlayer.cxx, BZDBCache.cxx, and CommandImplementation.cxx, add the line, #define HAVE_ISNAN, before the line, #include "common.h".
- 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 zip file has files missing, so download the .tar.bz2 version and use 7zip or some other free tool to unzip and untar it. 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 $(ProjectDir)\..\..\bin_Win32\bzflag.exe and the Working Directory to be $(ProjectDir)\..\..\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
- Punctuating Around Quotation Marks
- The UHM Writing Center takes appointments to help you with your writing
- Amount vs. number
- If you would like to use Microsoft Powerpoint for your presentations, you can get a free download of Microsfot Office for PC or Mac (on up to 5 computers) as a UH student to go with an Office 365 subscription. Register your .hawaii.edu email with Microsoft and sign up for a free Office 365 subscription at https://products.office.com/en-us/student/office-in-education?tab=students. There may be a time lag between signing up and being able to login to download your desktop/laptop copy of Office.
- Prezi is a good presentation software for graphic continuity with anchor objects (chapter 9 of Weissman).
David N. Chin / Chin@Hawaii.Edu