Skip to content

Commit 2808238

Browse files
committed
Update README.md
1 parent 13d66a8 commit 2808238

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tetris-demo"
3-
version = "0.1.0"
3+
version = "0.2.0"
44
authors = ["Dan Aloni <[email protected]>"]
55
edition = "2018"
66

README.md

+10-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
<img src="doc/tetris.gif" align="right">
22

3-
# Tetris Example in Rust
3+
# Tetris Example in Rust, v2
44

55
A Tetris example written in Rust using Piston.
66

77
* For demoing basic Rust coding
8-
* 498 lines of code
8+
* 414 lines of code
9+
* A clear Git history that iterates on added features. See: `git log --reverse -p 855e7fddd..HEAD`
910
* The completed lines are flashing
1011
* No scoring
1112
* No 'next piece view'
@@ -20,3 +21,10 @@ git clone https://github.com/da-x/tetris-demo
2021
cd tetris-demo
2122
cargo run
2223
```
24+
25+
## Changes from v1
26+
27+
- Simplified the handling of the game state.
28+
- Using a HashMap instead of a Vec<Vec<_>> for board and pieces.
29+
- Less lines, same functionality.
30+
- A clear Git history that iterates on added features.

0 commit comments

Comments
 (0)