Reactive Artificial Intelligence
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
docs
src
.gitignore
README.md

README.md

Pacman

Reactive Artificial Intelligence

What is it?

Pacman is an arcade game which greatly offers the chance to explore reactive artificial intelligence. If not patroling their home area, the ghosts actively react to Pacman's position and pursue Pacman with distinct strategies.

Screenshot

How to play?

  • Control Pacman's direction via the arrow keys or with the keys w (forward), s (backward), a (left) and d (right)
  • Switch between Pursuit and Patrol mode with the Space key
  • Enable automatic Pursuit/Patrol mode switching by pressing the key 1. Disable it with 2

Requirements

What you need for compiling:

How to compile

  1. Set up ClanLib by following these instructions: http://clanlib.org/build-environment-windows-msvc.html
  2. Get the source code and open the project in Visual Studio
  3. In the menu bar, click on VIEW and open the PROPERTY MANAGER
  4. In the Property Manager Window, expand the tree and double click "Microsoft.CPP.Win32.user" under "Debug | Win32"
  5. You will see the Property Pages Window. Click VC++ Directories
  6. Edit the Include Directories and add the include directory of your DirectX SDK, e.g. "C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Include", as well as the include directory of ClanLib.
  7. Click okay and edit the Library Directories. Add the Lib Directories of your DirectX SDK, e.g. "C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Lib\x86" and "C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Lib\x64"
  8. Also add the lib\win32 Directory of ClanLib
  9. Close the Property Pages Window and repeat steps 4-9 but with "Microsoft.CPP.Win32.user" under "Release | Win32"
  10. Hit Build :)

License

(The MIT License)

Copyright (c) 2012 David Pertiller david@pertiller.net. Visit: pertiller.net

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.