瀏覽代碼

This should be a red apple (???)

Sacha Ligthert 2 年之前
父節點
當前提交
c459247529
共有 1 個文件被更改,包括 1 次插入1 次删除
  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)
 }