Initial commit

This commit is contained in:
ChaoticByte 2025-08-21 18:16:10 +02:00
commit b3f3a77fc7
No known key found for this signature in database
8 changed files with 242 additions and 0 deletions

12
settings.go Normal file
View file

@ -0,0 +1,12 @@
package main
import "github.com/ChaoticByte/xels/simulation"
const CanvasWidth = 200
const CanvasHeight = 200
const MaxTps = 1000
const SimStepsPerUpdate = 10
func InitGrid(grid *simulation.XelGrid) {
grid.GetXel(grid.GetCenterPosition()).Energy = 50000
}