TLG - Tetris Like Game - Kotlin and Typescript variants for multiple GUI-platforms.
- Java 11
- GTK 4
- Android SDK
- Node.js and npm
# Build all Kotlin variants
./gradlew build
# Build GTK 4 variant
./gradlew tlg_gtk:build
./gradlew tlg_gtk:run
# Build Swing variant
./gradlew tlg_swing:build
./gradlew tlg_swing:run
# Build Android variant
./gradlew tlg_android:build
# Browser: install, build and run
cd js/browser
npm install
npm run build
npm run serve
# GTK (node-gtk): install, build and run
cd js/gtk
npm install
npm run build
npm run start
- Install dependencies:
sudo apt install openjdk-11-jre libgtk-4-1
- Download
tlg-gtk.zip
from release or build pipeline - Extract archive:
unzip tlg-gtk.zip
- Run install script as user:
sh install.sh
Source code is released under the MIT License