Skip to content

pcooksey/GridWorld

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Creating a simple 2D world for my grad AI class based off my Flat world classes.

For setting up SDL 2.0, I recommend using this website: http://lazyfoo.net/tutorials/SDL/01_hello_SDL/index.php Basics:

  1. Project : build options : search directory tab
  2. Compiler subtab : add : ex. C:\SDL2\include
  3. Linker subtab : add : ex. C:\SDL2\lib
  4. Linker setting tab : -lmingw32 -lSDL2main -lSDL2 in other linker options box
  5. [Link is more detailed so follow that if confused]
There is a bug with current version below is a link to the fixed copy of SDL_platform.h:

https://hg.libsdl.org/SDL/raw-file/e217ed463f25/include/SDL_platform.h

If you drop the file into SDL 2.0.3's include\SDL2\ directory, overwriting the original it should compile.

  1. Project is built in CodeBlocks environment
  2. The program is coded in C++ and uses SDL as its graphic library.
  3. Linker setting -lmingw32 -lSDLmain -lSDL

About

The Grid world for a Graduate AI project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages