Update Tetris tutorials
This commit is contained in:
parent
0ad0bf1598
commit
aca6ebe2bb
|
@ -9,7 +9,7 @@ aliases:
|
|||
This is the first part of a series of tutorials on creating a [terminal-based](https://en.wikipedia.org/wiki/Text-based_user_interface)
|
||||
[Tetris](https://en.wikipedia.org/wiki/Tetris) clone with [Go](https://golang.org).
|
||||
|
||||
Code for this tutorial is available [here](https://gitlab.com/tslocum/terminal-tetris-tutorial/-/tree/master/part-1).
|
||||
The code for this tutorial is available [on GitLab](https://gitlab.com/tslocum/terminal-tetris-tutorial/-/tree/master/part-1).
|
||||
|
||||
```bash
|
||||
go get gitlab.com/tslocum/terminal-tetris-tutorial/part-1 # Download and install
|
||||
|
|
|
@ -9,7 +9,7 @@ aliases:
|
|||
|
||||
This is the second part of a series of tutorials on creating a [terminal-based](https://en.wikipedia.org/wiki/Text-based_user_interface) [Tetris](https://en.wikipedia.org/wiki/Tetris) clone with [Go](https://golang.org).
|
||||
|
||||
Code for this tutorial is available [here](https://gitlab.com/tslocum/terminal-tetris-tutorial/-/tree/master/part-2).
|
||||
The code for this tutorial is available [on GitLab](https://gitlab.com/tslocum/terminal-tetris-tutorial/-/tree/master/part-2).
|
||||
|
||||
```bash
|
||||
go get gitlab.com/tslocum/terminal-tetris-tutorial/part-2 # Download and install
|
||||
|
@ -62,7 +62,7 @@ Initially empty, tetrominos will appear just outside of view at the top of the m
|
|||
### Matrix data model
|
||||
|
||||
A block is an integer representing the contents of a single X-Y Point (see part 1) on the matrix.
|
||||
We will use these blocks later to build tetrominos.
|
||||
We will use four of these blocks to build each tetromino.
|
||||
|
||||
{{< highlight go >}}
|
||||
type Block int
|
||||
|
|
Loading…
Reference in New Issue