Explorar el Código

This should be a red apple (???)

Sacha Ligthert hace 2 años
padre
commit
c459247529
Se han modificado 1 ficheros con 1 adiciones y 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)
 }