Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/niallb98/q-tetris
A text-based Tetris game written in Kx System's (https://kx.com/) programming language Q
https://github.com/niallb98/q-tetris
game kdb tetris text-based-game
Last synced: about 1 month ago
JSON representation
A text-based Tetris game written in Kx System's (https://kx.com/) programming language Q
- Host: GitHub
- URL: https://github.com/niallb98/q-tetris
- Owner: NiallB98
- License: mit
- Created: 2023-12-20T19:20:25.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-13T10:40:23.000Z (10 months ago)
- Last Synced: 2024-03-13T11:48:11.344Z (10 months ago)
- Topics: game, kdb, tetris, text-based-game
- Language: q
- Homepage:
- Size: 116 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# qTetris
## Table of Contents
- [qTetris](#qtetris)
- [Table of Contents](#table-of-contents)
- [Requirements](#requirements)
- [Introduction](#introduction)
- [How to Play](#how-to-play)
- [Commands](#commands)
- [Global](#global)
- [In-Game](#in-game)
- [Extra Tips](#extra-tips)
- [Screenshots](#screenshots)
- [Menu](#menu)
- [Pre-Game Config](#pre-game-config)
- [Gameplay](#gameplay)## Requirements
* `bash` (Tested with Git Bash for Windows' MinTTY terminal)
* `q/kdb+` (Tested in version 4.0)
* The Linux command `tput` (If wanting to have the game's interface centered in the window)**Note:** Some terminals may be too slow at refreshing their visuals to show the game at 60 FPS properly, it is recommended to run through a faster terminal than the default, like running through a [MinTTY](https://mintty.github.io/) terminal
## Introduction
A text-based Tetris game written in Kx System's (https://kx.com/) programming language Q
## How to Play
To start the game execute the `run.sh` script. The game's controls are all displayed in-game except for special commands listed in the [Commands](#commands) section## Commands
### Global
* `menu` - Go to main menu
* `quit`/`exit` - Quit game
* `fps X` - Set the game FPS to amount X (60 by default)### In-Game
- `p` - Pause game## Extra Tips
* The game's default FPS can be configured in `config.env`
* To register input the `Enter` key must be pressed after the key is pressed## Screenshots
### Menu
![Screenshot](resources/screenshots/menu.png)### Pre-Game Config
![Screenshot](resources/screenshots/pre_game_config.png)### Gameplay
![Screenshot](resources/screenshots/gameplay.png)