diff --git a/readme.md b/readme.md index ba931a6..d75c867 100644 --- a/readme.md +++ b/readme.md @@ -7,9 +7,21 @@ The IA is primitve but is smart at some point. # build -To build is easy, just import the build file in sublime_text_build. -I coded this in sublime text so I made this build file. -The program uses MinGW64, anyway this is not a serious project. +There is two options for building, directly g++ command, or using CMake, I obvious recommend you use CMake. +the project now support Unix & Linux, if you want to build under Unix & Linux, open and read the commands used in `build.bat`. +The makefile generated used here was Ninja, so, I recommed installing [Ninja](https://ninja-build.org/). + +Libs necessary: +[SDL 2.28.5](https://github.com/libsdl-org/SDL/releases/tag/release-2.28.5), [SDL Image 2.6.3](https://github.com/libsdl-org/SDL_image/releases/tag/release-2.6.3), and [GLEW](https://glew.sourceforge.net/). + +Also, if you are on any Linux-based OS, install with the package-manager the devel libs necessary. +```sh +# arch +sudo pacman libsd2l-dev libsdl2-image-dev libglew-dev + +# ubuntu +apt install libsdl2-dev libsdl2-image-dev libglew-dev +``` # running