I wrote a pong clone in Golang with Raylib

https://codeberg.org/Puzzled/gopong

Hey guys, I made pong clone in Golang with Raylib. Was wondering what you all thought about it.

21 points · 1 comments · view on lemmy.world

1 Comments

pkill@programming.dev · 8 pts · 2y

Why not gitignore the build artifacts and either publish them with releases or include a build directive in makefile/justfile? I mean, your platform might not be someone else's. Also consider using less global variables and shortening your main() in favor of dedicated functions ( that can still run in a loop inside main()) and using shorthand := assignment. Otherwise good job with documenting your code well.

PS, this one's more of a marketing tip really: try including a GIF in README.