From 464ac87df33d8a63c1978c23f69e4cf001329301 Mon Sep 17 00:00:00 2001 From: Rina Date: Wed, 29 Nov 2023 13:02:58 -0300 Subject: [PATCH 1/2] Update readme.md --- readme.md | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/readme.md b/readme.md index ba931a6..1e1c4d1 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 your in 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 From c98719a61154f2190c20bd82da0d347ce146fbb0 Mon Sep 17 00:00:00 2001 From: Rina Date: Wed, 29 Nov 2023 13:03:37 -0300 Subject: [PATCH 2/2] Update readme.md --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 1e1c4d1..d75c867 100644 --- a/readme.md +++ b/readme.md @@ -14,7 +14,7 @@ The makefile generated used here was Ninja, so, I recommed installing [Ninja](ht 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 your in any Linux-based OS, install with the package-manager the devel libs necessary. +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