func (pos Position) Equals(x int, y int) bool {
	return pos.X == x && pos.Y == y
}
Equals compares this object with X and Y integers
package snake
import "fmt"
type Position struct {
	X int
	Y int
}
type Size struct {
	Width  int
	Height int
}
type Direction struct {
	X int
	Y int
}
func clearScreen() {
	fmt.Printf("\033[3J")  
	fmt.Printf("\033[H")   
}