You can find more information on these sections in the development section. If you have a suggestion, bug, or feature request, please open a GitHub is

Search code, repositories, users, issues, pull requests...

submited by
Style Pass
2024-11-25 07:30:04

You can find more information on these sections in the development section. If you have a suggestion, bug, or feature request, please open a GitHub issue.

Tetrigo can be installed by downloading the binary or by building from source. See the instructions below for your preferred method.

Ensure that you have a supported version of Go properly installed and setup. You can find the minimum required version of Go in the go.mod file.

The menu, leaderboard, etc can be navigated using the arrow keys (moving), escape (exit), and enter (submit). These controls are not configurable.

Starting Tetrigo with no subcommand or flags will start the game in the menu where you can manually configure simple settings like the player name and game mode:

By default, Tetrigo will look for the file ./tetrigo/config.toml within the devices XDG config (or equivalent) directory. The adrg/xdg defines values XDG_CONFIG_HOME for various operating systems (eg. on macOS it is ~/Library/Application Support directory exists it will be stored there, otherwise in ~/Library/Preferences). You can specify a different file using the --config flag.

The game data is stored in a SQLite database. By default, the database is stored in ./tetrigo/tetrigo.db within the devices XDG data (or equivalent) directory. The adrg/xdg defines XDG_DATA_HOME for various operating systems (eg. on macOS if the ~/Library/Application Support directory exists it will be stored there, otherwise in /Library/Application Support). You can specify a different file path using the --db flag.

Leave a Comment