Explorar o código

This should be a red apple (???)

Sacha Ligthert %!s(int64=2) %!d(string=hai) anos
pai
achega
c459247529
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      apple.go

+ 1 - 1
apple.go

@@ -43,5 +43,5 @@ func placeApple(snakex *int, snakey *int) Apple {
 }
 
 func drawApple(screen tcell.Screen, style tcell.Style, x int, y int) {
-	screen.SetContent(x, y, '', nil, style)
+	screen.SetContent(x, y, '🍎', nil, style)
 }