Skip to content

locus0002/c-plus-plus-ai

Repository files navigation

AI with C++

In this repository, you will be able to find my approach to exercises and improvements that "Programming Game AI by Example" suggested.

How to run the projects

If you desire to run the FSM project, which is inside of the WestWorldWithMessagin folder, follow the next steps.

  • Clone the repository
  • Open Visual Studio Code (that was my code editor for this exercise)
  • Modify the task.json file and the c_cpp_properties.json file (Here you can find a tutorial on how to configure your tasks in VSC)
  • Finally, run the project

For the exercises of chapter 3 (Steering Behaviors), you have to follow the next steps

  • Clone the repository
  • Deciding which exercise you want to run
  • Switching to the desired commit
    • Steering behavior hide (3a2abf8fa24762864e4c205b383c9a312714a2c6)
    • Leader following (9638631f73991abe2c1c3da05de8d5f9ee6757e0)
    • Flock of Sheep (698e41afe0a31f817f3d1f9a03c8f276d8b4db7b)
  • Open the project file (Steering.sln) inside of the Buckland_Chapter3 folder with Visual Studio 2019 (the reason because I used this IDE, was the simplicity to run the whole project)
  • Right-click on the Steering project
  • Choose Properties
  • In the pop-up window select Configuration Properties > C/C++ > General
  • Verifies Additional Include Directories is pointing to the correct path
  • Finally, run the project

Want to know more about my approaches

Here you can find the explanations of the exercises that I implemented

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors