@@ -7,13 +7,6 @@ import (
"github.com/gdamore/tcell/v2"
)
-const (
- Left = iota
- Right
- Up
- Down
-)
-
func initilize() (tcell.Screen, tcell.Style, error) {
style := tcell.StyleDefault.Background(tcell.ColorReset).Foreground(tcell.ColorReset)
@@ -1,5 +1,12 @@
package main
+const (
+ Left = iota
+ Right
+ Up
+ Down
+)
+
type Position struct {
x int
y int