Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/edoardotosin/xtetris-game
A unique reinvention of the timeless Tetris game, crafted in C for Linux, pushing your strategic thinking and stamina to new heights.
https://github.com/edoardotosin/xtetris-game
c c-language game linux retro-game terminal-based tetris tetris-game video-game x-tetris
Last synced: 6 days ago
JSON representation
A unique reinvention of the timeless Tetris game, crafted in C for Linux, pushing your strategic thinking and stamina to new heights.
- Host: GitHub
- URL: https://github.com/edoardotosin/xtetris-game
- Owner: EdoardoTosin
- License: gpl-3.0
- Created: 2021-10-06T19:51:14.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-05T14:22:26.000Z (3 months ago)
- Last Synced: 2024-11-05T15:25:08.303Z (3 months ago)
- Topics: c, c-language, game, linux, retro-game, terminal-based, tetris, tetris-game, video-game, x-tetris
- Language: C
- Homepage:
- Size: 3.54 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## General info
This is a variant of the famous video game Tetris written in C (standard C89) for Linux.## Gameplay
* Goal: Put your organizational skills and endurance to the test by clearing as many lines as possible.
* Clear lines: Maneuver the falling Tetriminos to fit them together within the Matrix. To clear a line, fill every square within a single row.
* Score points: Earn points by clearing lines. Clear multiple lines at once to increase your scoring opportunities.
* Ghost piece: Use the Ghost Piece to determine the best fit for the falling Tetrimino. This helpful guide appears directly below the falling Tetrimino and displays possible placements.
* Next queue: Preview the upcoming Tetrimino in the Next Queue to plan ahead and increase your scoring opportunities.
* Hold queue: Store a falling Tetrimino in the Hold Queue for later use.
* Game over: Stack the Tetriminos too high and the game is over!Source: [tetris.123-games.org](https://tetris.123-games.org/tut.html)
## Controls
- `W`: Rotate the tetromino 90° counter-clockwise.
- `S`: Rotate the tetromino 90° clockwise.
- `A`: Move the tetromino to the left.
- `D`: Move the tetromino to the right.
- `Spacebar`: Accelerate tetromino falling.
- `Enter`: Confirm.
- `Esc`: Go back.## Requirements
- [Git](https://git-scm.com/).
- (Recommended) Set one of the [Nerd fonts](https://github.com/ryanoasis/nerd-fonts) in your terminal for better display the special characters printed by the game.## Compile
Run the following commands on terminal:
``` bash
git clone https://github.com/EdoardoTosin/xTetris-Game
cd xTetris-Game
make
```## Launch
Run the following command on terminal:
``` bash
make run
```## License
Copyright (c) 2021 [Edoardo Tosin](https://github.com/EdoardoTosin)
This software is released under the terms of the GNU General Public License v3.0. See the [LICENSE](https://github.com/EdoardoTosin/xTetris-Game/tree/main/LICENSE) file for further information.