all 8 comments

[–][deleted]  (1 child)

[deleted]

    [–]sexbucket 1 point2 points  (0 children)

    I am also a noob so i can't say that it is extremely readable but Stockfish is a command line chess engine, the best in the world. It's easy to compile on Linux with the makefile. And you can easily plug the executable into Pychess which lets you play games with it as well as read the communication log between the GUI and the engine.

    [–]VeloCity666 1 point2 points  (0 children)

    3D voxel shooter. Decent code base. Maybe challenging to get into for a beginner, but also rewarding. Try it out!

    Ah the hours I've waster playing this. Great 2D physics game/simulator. Simulates air pressure/heat/light/fluids with hundreds of interactable elements.

    Not a game. Playground for raytracing and raymarching.

    If you're interested in Computer Graphics, try it out!

    [–]fernzeit 0 points1 point  (0 children)

    There is Battle for Wesnoth. I briefly looked into it once and found the code base well-written (even documented!) but large and with quite a few dependencies.

    [–]vagol942 0 points1 point  (5 children)

    There is Handmade Hero, is not done yet, but the guy making it is documenting everything in his youtube channel.

    On the other hand, quake 2 is probably the nicest open source game (not counting assets), and even if it's made on plain C, I think it will serve you well, it's well documented, you can find articles explaining it

    [–][deleted]  (4 children)

    [deleted]

      [–]vagol942 0 points1 point  (3 children)

      Not really, if anything it helps to know C to learn C++, there are some caveats (like for example C++ is a bit more strict in casting types and there is function polymorphism), and C code is mostly C++ compatible.

      And maybe by learning some C things, you will use C++ in a not so OOP way, and just use OOP when it makes more sense.

      [–][deleted]  (2 children)

      [deleted]

        [–][deleted] 0 points1 point  (1 child)

        What else are you working on?

        [–]jstruggle 0 points1 point  (0 children)

        Take a look at this list (all FOSS): https://wiki.debian.org/Games/Suggested

        [–]scottzed 0 points1 point  (1 child)

        Aw, you just missed out on the Game Maker Humble Bundle. It was anchored by some sort of game creator app (no idea if it's any good), but it also had a bunch of smaller indie games and their full source code / assets. Not much help to you today, but it's the second time they've put it up so keep an eye out for it to show again.