프로젝트
GitHub에서 보기
brenns10/tetris
소개
Tetris in C and NCURSES.
게임 및 에뮬레이션측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalTetris

A tetris game in C using NCURSES. It's pretty feature complete, except for stretch goals I may pick up in my free time.
Building
My dependencies are:
libsdlandlibsdl_mixer1.2 for sound.ncursesfor terminal manipulation.
To install them on Arch Linux:
sudo pacman -S sdl_mixer ncurses
To install them on Ubuntu:
sudo apt-get install libsdl-mixer1.2-dev libncurses5-dev
To compile:
make
To run:
bin/release/main
You will need to provide a file named tetris.mp3 in the same directory that
you're running the game from. As I understand it, the official Tetris theme
song is legally protected in the use of games like this, so I will not be
providing or linking to that. But I'm sure you could find something! (You do
not need to provide tetris.mp3 in order to play the game, only if you want
sound!).
Instructions
The controls are typical of Tetris:
- ← and →: Move the tetromino,
- ↑: Rotate (clockwise?) the tetromino,
- ↓: Immediately drop the tetromino (not a fast drop, an immediate drop),
- Q: Exit the game prematurely,
- P: Pause the game (any key to resume),
- B: "Boss mode" - show a mock terminal screen to fool nosy onlookers. Hit F1 to resume the game afterwards.
- S: Save game and exit (just assumes filename
tetris.save). To resume the game, runbin/release/main tetris.save(or whatever you may have renamed the game save to).
Future/Stretch Goals
- Sound effects (in addition to the theme music).
- Networked multiplayer!
관련 프로젝트 살펴보기
불러오는 중…