A minimal standalone goxpyriment example that can be copied outside the repository and built without the go.work workspace. It shows a coloured rectangle on screen and waits for a key press.
Use this as a starting point if you want to develop an experiment in its own separate Go module.
sudo apt install libsdl3-dev on Ubuntu/Debian)go run main.go
go run main.go -d # windowed (development)
cp -r examples/hello_world ~/my-experiment
cd ~/my-experiment
go mod init my-experiment
go mod tidy
go run main.go
go build -o hello_goxpy .
./hello_goxpy
Press any key to exit.