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

  • anti-idpol action@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    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.