Slime volleyball implemented in Go with the SDL 2 bindings
This is a small project written "just for fun", inspired by Francesc Campoy's Flappy Gopher and reddit user /u/marler8997 HTMl5 Slime Volleyball.
I learned some interesting thing about 2D circle physics while coding this up, check out my blog post about it.
I didn't make the same effort as some other versions to have total fidelity to the original physics, and I implemented a basic AI, however both the physics and the AI could use some work. Since this was just a one-off project, I won't improve them unless for some reason I'm asked to.
First install the SDL2 bindings for Go by following the instructions here.
After that, clone this repo and run:
make run
To build a binary:
make build
To run tests
make test
This project is licensed under the MIT License.