Skip to content
/ TLG Public

Tetris Like Game - Tetris game written in Kotlin/Typescript which supports different GUI platforms

License

Notifications You must be signed in to change notification settings

bailuk/TLG

Repository files navigation

Kotlin on ubuntu Node on ubuntu

About

TLG - Tetris Like Game - Kotlin and Typescript variants for multiple GUI-platforms.

Screenshot

GTK 4 variant

Dependencies

  • Java 11
  • GTK 4
  • Android SDK
  • Node.js and npm

Build and run

# 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 distribution (Kotlin / GTK-4 variant)

  • 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

License

Source code is released under the MIT License

About

Tetris Like Game - Tetris game written in Kotlin/Typescript which supports different GUI platforms

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published