Skip to content

Commit

Permalink
Add INSTALL
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingJellyfish committed Jul 30, 2022
1 parent c32c78e commit e6f60a3
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 14 deletions.
15 changes: 15 additions & 0 deletions INSTALL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## Compile instructions

### Supported platform

Any platform that suppports full SFML.

### Steps

Install SFML on your computer, then

```bash
g++ main.cpp -o bastet -Ofast -lsfml-window -lsfml-system -lsfml-graphics -lsfml-audio
```

Or run binaries given in the release page in GitHub.
37 changes: 23 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,33 @@
## Original Readme from fph/bastet
## Readme

"For people who enjoy swearing at their computer, Bastet (short for Bastard Tetris) is an attractive alternative to Microsoft Word."

Have you ever thought Tetris(R) was evil because it wouldn't send you that straight "I" brick you needed in order to clear four rows at the same time? Well Tetris(R) probably isn't evil, but Bastet certainly is. >:-) Bastet stands for "bastard tetris", and is a simple ncurses-based Tetris(R) clone for Linux. Unlike normal Tetris(R), however, Bastet does not choose your next brick at random. Instead, Bastet uses a special algorithm designed to choose the worst brick possible. As you can imagine, playing Bastet can be a very frustrating experience!

==Instructions==
### Instructions
The game is pretty self-explanatory; use the arrow keys and <space> or <enter> to browse through the menus, set the keys to anything you're comfortable with, and hit "Play!".

The default keys are as follows:
Down Down
Left Left
Right Right
Space bar Rotate tetromino clockwise
Up Rotate tetromino counterclockwise
Enter "Hard-drop" tetromino (like pressing "Down" continuously)
p Pause
control+C Quits the game immediately and without asking anything (the current game is lost, but previous games are recorded in the high scores file)

==Normal/Harder==
* Down Down, or decrease level in main menu
* Left Left
* Right Right
* Space bar Rotate tetromino clockwise, or choose difficulty in main menu
* Up Rotate tetromino counterclockwise, or increase level in main menu
* Enter "Hard-drop" tetromino (like pressing "Down" continuously), or start game in main menu
* p Pause
* control+C Quits the game immediately and without asking anything

### Normal/Harder

The game currently allows choosing between two block choosers. The second (harder) one does not show you the "next block" preview, thus achieving a higher level of bastardness.

==Installation==
See the INSTALL file in this same directory.
### Installation
See the INSTALL.md file in this same directory.

### Credit

Algorithm and README from fph/bastet

Dogica font by Roberto Mocci

Everything else by CodingJellyfish

0 comments on commit e6f60a3

Please sign in to comment.