Tag: GitHub

Games in C on GitHub

Games in C on GitHub

Tetris lamp
Image by Tobias Kozlowski from Pixabay

If you visit this site often, you’ll find many many links to projects on GitHub and not just mine. One of the thing I like about GitHub is how easy it is to search for stuff. So I put games in the top left search box and then ticked the C checkbox.

That returned 2,569 results but not all are playable games. Some are one off projects for other hardware such as Wii, GameBoy, Switch and similar. One gem I found was BSDGames. This is quite old and the 43 games are text based including the original Adventure.  I get the feeling many of these are from the Basic Computer Games books but at least these are in C not BASIC.

These will probably compile better on Linux and with difficulty and lots of fixes on Windows. And yes there is a Tetris game in the collection!

 

Useful list of tutorials in C

Useful list of tutorials in C

 

Online educatioon
Image by Mudassar Iqbal from Pixabay

This GitHub repository has a pretty long list of beginner to medium sized project tutorials in C. There are over 30 on game development alone with titles like “Create a 2D platformer” and “SDL2 Isometric Game Tutorial“.

Other tutorials are on databases, networking, programming languages and operating systems plus even a bit on Blockchain. Recommended!

I’ve added a permanent link on the Links to C utilities page (on the top menu).

Open source repositories are worth a trawl

Open source repositories are worth a trawl

Repository
Image by Jagrit Parajuli from Pixabay

How many C language projects do you think there are on GitHub? If you put language:C in the search box, you get the astonishing figure of 980,752! That would take some trawling through.

There are other search terms you can use as well. Click the cheat sheet link on the bottom left of the page and it will popup a form explaining how to filter for various things.  You are probably as well reading the GitHub search help. There’s a lot more to search there.

Confusingly the searches sometimes seem to come up with different values. I’ve seen it vary between 578,000 and over a million!   Add game to the search and there’s only 31,426 projects! Only…