Browse Source

Update Tetris tutorials

master
Trevor Slocum 2 years ago
parent
commit
0896e453c9
  1. 6
      content/post/tetris-1.md
  2. 2
      content/post/tetris-2.md

6
content/post/tetris-1.md

@ -9,7 +9,7 @@ aliases: @@ -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 on GitLab**](https://gitlab.com/tslocum/terminal-tetris-tutorial/-/tree/master/part-1)
[**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
@ -441,6 +441,6 @@ func Generate(rank int) ([]Mino, error) { @@ -441,6 +441,6 @@ func Generate(rank int) ([]Mino, error) {
}
{{< / highlight >}}
# Stay tuned...
# Up next: The Matrix
In part two we will create a [matrix](https://tetris.wiki/Playfield) to hold our minos and implement [SRS rotation](https://tetris.wiki/SRS).
In [part two](/post/tetris-2/) we will create a [matrix](https://tetris.wiki/Playfield) to hold our minos and implement [SRS rotation](https://tetris.wiki/SRS).

2
content/post/tetris-2.md

@ -9,7 +9,7 @@ aliases: @@ -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 on GitLab**](https://gitlab.com/tslocum/terminal-tetris-tutorial/-/tree/master/part-2)
[**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

Loading…
Cancel
Save