Browse code

Fix up figure haskell-snake post

Joseph Weston authored on 29/03/2021 02:03:52
Showing 2 changed files
... ...
@@ -17,7 +17,7 @@ and thought it was a pretty neat idea, however I wanted to try and make
17 17
 a snake game instead (nostalgia for the Nokia 3310, I guess). If you don't
18 18
 know what snake is, here's a sweet GIF of a russian guy getting a perfect game:
19 19
 
20
-![snake](https://media.giphy.com/media/8D0yR4ylkAC1G/giphy.gif)
20
+{{<figure src="https://media.giphy.com/media/8D0yR4ylkAC1G/giphy.gif">}}
21 21
 
22 22
 You move a snake around the screen trying to gobble up pieces of food. The snake
23 23
 moves forward 1 space every second or so autonomously, and each piece
... ...
@@ -6,7 +6,7 @@ tags:
6 6
   - haskell
7 7
 ---
8 8
 
9
-In a [previous post](haskell-snake) I talked a bit about writing a snake game in
9
+In a [previous post]({{<ref "posts/coding/haskell-snake" >}}) I talked a bit about writing a snake game in
10 10
 Haskell. At the end of the post we had a working game, but there was 1 ingredient
11 11
 missing; the snake would not go anywhere by itself! The fundamental problem was that
12 12
 our game was being driven by Haskell's [lazy IO][lazy-io]. Whenever a new character