Skip to content

MaximKrait/KryzoClassic

Repository files navigation

Logo

A small C++ game where you have to dodge triangles.

README in russian | README на русском

Installation

Linux

  1. Download the latest tar.gz or AppImage from here

If you downloaded tar.gz, please install the dependencies:

  • Fedora
sudo dnf install -y SDL2-devel SDL2_ttf-devel SDL2_gfx-devel SDL2_image-devel SDL2_mixer-devel
  • Ubuntu/Debian
sudo apt install -y libsdl2-dev libsdl2-ttf-dev libsdl2-gfx-dev libsdl2-image-dev libsdl2-mixer-dev
  • Arch Linux
sudo pacman -Sy --noconfirm sdl2 sdl2_ttf sdl2_gfx sdl2_image sdl2_mixer
  1. Play by launching either Kryzo_Classic or Kryzo_Classic-x86_64.AppImage.

Windows

  1. Download the latest zip archive from here
  2. Play by launching Kryzo_Classic.exe

Building

If you want to compile the game yourself from the source files, then proceed according to these instructions:

Linux(Standard build)

  1. File retrieval

You can get the source code directly from here

Or you can do the following:

git clone https://github.com/MaximKrait/KryzoClassic.git
cd KryzoClassic

1.1. Installing dependencies.

chmod +x install-deps.sh 
./install-deps.sh 
  1. Compile the code
make install

The Makefile will install the game in the user's home directory, specifically at the following path: /home/HOME_DIR/Documents/Kryzo_Classic

HOME_DIR refers to the user's name.

  1. Start game
./Kryzo_Classic

or click on the executable file

Linux(AppImage build)

  1. File retrieval

You can get the source code directly from here

Or you can do the following:

git clone https://github.com/MaximKrait/KryzoClassic.git
cd KryzoClassic

1.1. Installing dependencies.

chmod +x install-deps.sh 
./install-deps.sh 
  1. Build the AppImage file.
chmod +x AppImage/build_appimage.sh
./AppImage/build_appimage.sh
  1. Start game
./Kryzo_Classic-x86_64.AppImage

or click on the executable file.

Windows

  1. Download MSYS2 and open MINGW64, then install the necessary tools.
pacman -S --needed git mingw-w64-x86_64-gcc mingw-w64-x86_64-make
  1. Download the game source code.
git clone https://github.com/MaximKrait/KryzoClassic.git
cd KryzoClassic
  1. Install the necessary dependencies.
./install-deps-win.bat
  1. Compile the game.
mingw32-make install

Makefile will install the game in the Games folder, specifically in C:\Users\username\Games\Kryzo_Classic

  1. Run the game via Kryzo_Classic.exe