Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
MrsRina committed Nov 29, 2023
2 parents 8cab4fa + c98719a commit 32a45c7
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 32a45c7

Please sign in to comment.