Cat N' Mouse 2D Game built with C++ and OpenGL.
Cat N' Mouse features:
- Made in C++ and OpenGL with custom game engine and OpenGL shaders/meshes
- Randomly generated maze (generated by custom implementation of randomized depth-first search algorithm)
- Intelligent pathing (custom implementation of A* algorithm)
- Complete game (win/loss conditions, pause, etc.)
Requires MinGW, GLFW and OpenGL. The software also requires the GLM and glad libraries, but these header-only libraries are included in this repository.
- Install MinGW, download from here. Ensure mingw32-gcc-g++ is selected in MinGW Installation Manager before proceeding.
- Install GLFW and OpenGL.
- Run MinGW make
cd cat-n-mouse
mingw32-make
- Run the game
./catnmouse.exe
Requires gcc, g++, pkg-config, GLFW and OpenGL. The software also requires the GLM and glad libraries, but these header-only libraries are included in this repository.
Instructions are given with Debian-based package managers (apt)
- Install gcc and g++ (if not already installed)
sudo apt-get install gcc g++
- Install pkg-config (if not already installed)
sudo apt-get install pkg-config
- Install OpenGL
sudo apt-get install libgl1-mesa-dri
- Install GLFW
sudo apt-get install libglfw3 libglfw3-dev
- Compile the code
cd cat-n-mouse
make
- Run the game
./catnmouse
The pre-built binaries have been compiled statically, meaning that no extra libraries are required to run them.
Run the provided .exe
file. If prompted, click Run.
Run the provided executable. This executable is linked against libc
, so ensure that it is installed.