{"id":22006549,"url":"https://github.com/niallb98/q-tetris","last_synced_at":"2025-03-23T06:44:54.439Z","repository":{"id":213407029,"uuid":"734063054","full_name":"NiallB98/q-tetris","owner":"NiallB98","description":"A text-based Tetris game written in Kx System's (https://kx.com/) programming language Q","archived":false,"fork":false,"pushed_at":"2024-03-13T10:40:23.000Z","size":119,"stargazers_count":5,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-28T13:48:12.549Z","etag":null,"topics":["game","kdb","tetris","text-based-game"],"latest_commit_sha":null,"homepage":"","language":"q","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NiallB98.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-20T19:20:25.000Z","updated_at":"2024-01-14T21:20:54.000Z","dependencies_parsed_at":"2024-02-26T19:28:42.153Z","dependency_job_id":"1c7edf96-6211-4368-9cb7-c8082cdc279b","html_url":"https://github.com/NiallB98/q-tetris","commit_stats":null,"previous_names":["niallb98/q-tetris"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NiallB98%2Fq-tetris","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NiallB98%2Fq-tetris/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NiallB98%2Fq-tetris/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NiallB98%2Fq-tetris/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NiallB98","download_url":"https://codeload.github.com/NiallB98/q-tetris/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245066522,"owners_count":20555404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["game","kdb","tetris","text-based-game"],"created_at":"2024-11-30T01:13:00.509Z","updated_at":"2025-03-23T06:44:54.419Z","avatar_url":"https://github.com/NiallB98.png","language":"q","funding_links":[],"categories":[],"sub_categories":[],"readme":"# qTetris\n\n## Table of Contents\n- [qTetris](#qtetris)\n  - [Table of Contents](#table-of-contents)\n  - [Requirements](#requirements)\n  - [Introduction](#introduction)\n  - [How to Play](#how-to-play)\n  - [Commands](#commands)\n    - [Global](#global)\n    - [In-Game](#in-game)\n  - [Extra Tips](#extra-tips)\n  - [Screenshots](#screenshots)\n    - [Menu](#menu)\n    - [Pre-Game Config](#pre-game-config)\n    - [Gameplay](#gameplay)\n\n## Requirements\n* `bash` (Tested with Git Bash for Windows' MinTTY terminal)\n* `q/kdb+` (Tested in version 4.0)\n* The Linux command `tput` (If wanting to have the game's interface centered in the window)\n\n**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\n\n## Introduction\n\nA text-based Tetris game written in Kx System's (https://kx.com/) programming language Q\n\n## How to Play\nTo 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\n\n## Commands\n\n### Global\n* `menu` - Go to main menu\n* `quit`/`exit` - Quit game\n* `fps X` - Set the game FPS to amount X (60 by default)\n\n### In-Game\n- `p` - Pause game\n\n## Extra Tips\n* The game's default FPS can be configured in `config.env`\n* To register input the `Enter` key must be pressed after the key is pressed\n\n## Screenshots\n\n### Menu\n![Screenshot](resources/screenshots/menu.png)\n\n### Pre-Game Config\n![Screenshot](resources/screenshots/pre_game_config.png)\n\n### Gameplay\n![Screenshot](resources/screenshots/gameplay.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniallb98%2Fq-tetris","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fniallb98%2Fq-tetris","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniallb98%2Fq-tetris/lists"}