From aca6ebe2bbb7a9279ae4add3e8011b11f1d7c36b Mon Sep 17 00:00:00 2001 From: Trevor Slocum Date: Thu, 6 Aug 2020 21:39:58 -0700 Subject: [PATCH] Update Tetris tutorials --- content/post/tetris-1.md | 2 +- content/post/tetris-2.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/content/post/tetris-1.md b/content/post/tetris-1.md index a00f964..d0ed90f 100644 --- a/content/post/tetris-1.md +++ b/content/post/tetris-1.md @@ -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 diff --git a/content/post/tetris-2.md b/content/post/tetris-2.md index 3cf664a..5bc8a57 100644 --- a/content/post/tetris-2.md +++ b/content/post/tetris-2.md @@ -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