- git
- cmake
- mingw-cmake (for Windows)
sudo pacman -S git cmake mingw-w64-gcc
paru -S mingw-w64-cmake (or build it by yourself)
paru -S android-studio
apt install git cmake mingw-w64
git clone https://github.com/hiebyshek/lesta-course
cd lesta-course
mkdir build && cd build
cmake .. -DBUILD_ALL=ON
cmake --build . -j4
git clone https://github.com/hiebyshek/lesta-course
cd lesta-course/tetris
mkdir build && cd build
cmake ..
cmake --build . -j4
git clone https://github.com/hiebyshek/lesta-course
cd lesta-course/tetris
mkdir build/ && cd build/
x86_64-w64-mingw32-cmake ..
cmake --build . -j4
WINEPATH="/usr/x86_64-w64-mingw32/bin/;`pwd`/nano/lib/SDL;`pwd`/nano/lib/SDL_image;`pwd`/nano" ./tetris.exe
git clone https://github.com/hiebyshek/lesta-course
cd lesta-course/tetris/android-project
echo "sdk.dir=$HOME/Android/Sdk" > local.properties
android-studio ./
Build project (Ctrl + F9)
Replace $HOME/Android/Sdk with your android sdk dir if need