summaryrefslogtreecommitdiff
path: root/README.md
blob: 6ace971528ec2a954bb1f52141ca9d142c0199eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
## Tetris CSFML
[![Build Status](https://travis-ci.org/Oxore/tetris-csfml.svg?branch=master)](https://travis-ci.org/Oxore/tetris-csfml)
![WTFPL](http://www.wtfpl.net/wp-content/uploads/2012/12/wtfpl-badge-2.png "WTFPL")

This is unfinished tetris project written in pure C with CSFML library. It is under development.

![Main menu](https://i.imgur.com/kOKz2Qk.png "Main menu")

![In game](https://i.imgur.com/14aWf49.png "In game")

__Dependencies__

`SFML`
`CSFML`
`libyaml`

__Compilation and use__

Compilation:
```
make all
```
File named "tetris" is the final binary. Run it. Hit *S* to start game.

Cleaning:
```
make clean
```

__Windows__

Look at the [repo releases](https://github.com/Oxore/tetris-csfml/releases)! Now I have some windows binaries there!

### TODO:

- Add screenshots and gameplay gif
- [x] Levels speed and scores calibration
- [x] Scoring system as in Tetris for NES which is described on [this page](https://tetris.wiki/Scoring)
- [Wall kick](https://tetris.wiki/Wall_kick)
- Hard drop
- Phantom shape
- Table of records
- Settings menu with external `config.yml` file which allows
  - Change key bindings
  - Change colorscheme and define new
  - Number of levels
- Three next shapes
- Main menu with beauties
- Look with sprites
- Interprocess communication interface for control from other process (I want to connect machine learning algorithm and make it play and learn)