Skip to content

Latest commit

 

History

History
52 lines (41 loc) · 1.41 KB

README.md

File metadata and controls

52 lines (41 loc) · 1.41 KB

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