skywind3000 / GameLib
PublicSingle-header C++ Game Library for Beginners — no SDL/DirectX/OpenGL, no setup, just include and play.
GameLib is a single-header C++ library designed for beginners to quickly create 2D games on Windows with built-in graphics, input, sound, and utilities.
How It Works
You hear about a super simple way to make fun games while learning C++ without any complicated setup.
Download the single magic file and drop it into your project folder.
Create a short code file with instructions for drawing shapes, moving them with keys, and adding sounds.
Tell your computer to build it, and suddenly a window pops up with your colorful moving circle you control with arrows.
Easily load pictures for characters, play music, detect bumps between objects, and build levels with tile maps.
Follow examples to create classics like Snake, Breakout, or space shooters, seeing your ideas come to life instantly.
Sit back and play your own creation, sharing the joy of making something real from just a few lines of code.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.