feat: initial commit with M1-M4 implementation

This commit is contained in:
Vladimir V Maksimov
2026-05-12 10:54:09 +03:00
commit aece34fe73
24 changed files with 1770 additions and 0 deletions

19
internal/entities/puck.go Normal file
View File

@@ -0,0 +1,19 @@
package entities
type Vector2 struct {
X, Y float64
}
type Puck struct {
Position Vector2
Velocity Vector2
Radius float64
}
func NewPuck(x, y float64) *Puck {
return &Puck{
Position: Vector2{X: x, Y: y},
Velocity: Vector2{X: 0, Y: 0},
Radius: 10,
}
}