func NewGame() *Game {
	return &Game{Lives: 5}
}
NewGame creates a new game
package resources
import (
	"time"
	ecs "github.com/x-hgg-x/goecs/v2"
	"github.com/ByteArena/box2d"
)
const B2PixelRatio = 50
type BlockCollisionEvent struct {
	Entity ecs.Entity
}
type StopBallAttractionEvent struct {
	CollisionTime time.Time
}
type BallAttractionVfxEvent struct {
	BallEntity               ecs.Entity
	BallColorScale           [4]float64
	AttractionLineEntity     ecs.Entity
	AttractionLineColorScale [4]float64
}
type LifeEvent struct{}
type ScoreEvent struct {
	Score int
}
type Events struct {
	BlockCollisionEvents     []BlockCollisionEvent
	StopBallAttractionEvents []StopBallAttractionEvent
	BallAttractionVfxEvents  []BallAttractionVfxEvent
	LifeEvents               []LifeEvent
	ScoreEvents              []ScoreEvent
}
type StateEvent int
const (
	StateEventNone StateEvent = iota
	StateEventGameOver
	StateEventLevelComplete
)
type Game struct {
	CollisionWorld *box2d.B2World
	Events         Events
	StateEvent     StateEvent
	Lives          int
	Score          int
}