Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wader/gtktetris
Simple GTK tetris game
https://github.com/wader/gtktetris
game gtk gtk2 gtk3 tetris
Last synced: 8 days ago
JSON representation
Simple GTK tetris game
- Host: GitHub
- URL: https://github.com/wader/gtktetris
- Owner: wader
- License: mit
- Created: 2011-01-02T20:54:37.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2024-05-29T07:13:45.000Z (8 months ago)
- Last Synced: 2025-01-19T19:59:22.510Z (11 days ago)
- Topics: game, gtk, gtk2, gtk3, tetris
- Language: C
- Homepage: https://github.com/wader/gtktetris
- Size: 147 KB
- Stars: 7
- Watchers: 3
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog
- License: LICENSE
- Authors: AUTHORS
Awesome Lists containing this project
README
## GtkTetris
A simple Tetris clone for the GTK library.
## Requirements
- GTK 2 >= 2.14
- GTK 3 >= 3.14## Installation
Run
- ./configure --prefix=/usr
- make
- make installBy default the GTK3 port is compiled, use `--enable-gtk2`
or `--disable-gtk3` to compile the GTK2 port.- ./configure --prefix=/usr --enable-gtk2
The GTK3 version provides HiDPI support with:
- `GDK_SCALE=2 ./gtktetris` - make UI 2x bigger
- `GDK_SCALE=3 ./gtktetris` - make UI 3x biggerYou can also just run the compiled binary: src/gtktetris.