raysan5/raylib-games logo

raysan5/raylib-games

Free

A collection of small sample games made with raylib

FreeFree tier
Type
Open Source

About raysan5/raylib-games

A collection of small sample games made with raylib, a simple and easy-to-use C library for game development. This repository includes over a dozen games created primarily during Global Game Jams (GGJ) from 2014 to 2021, as well as classic game recreations like Arkanoid, Asteroids, Snake, and Tetris. All games are written in C and are regularly updated to the latest version of raylib, making them excellent examples for learning game development and C programming.

Key Features

Open source under zlib/libpng license
Written in C using the raylib library
Includes over 15 games from Global Game Jams (2014-2021)
Classic game recreations: Arkanoid, Asteroids, Snake, Tetris, etc.
Regular updates to latest raylib version
Educational resource for learning game development with raylib

Pros & Cons

Pros
  • Free and open source
  • Variety of game genres and mechanics
  • Well-documented and commented C code
  • Cross-platform (raylib supports Windows, Linux, macOS, etc.)
  • Active community (823 stars, 97 forks)
Cons
  • Not an AI tool; primarily a game code collection
  • Some games may be incomplete or simplistic
  • Requires knowledge of C and raylib to benefit fully
  • No AI-specific features or capabilities

Best For

Learning game development with raylib and CStudying code patterns for 2D and simple 3D gamesInspiration for game jam projectsTeaching examples for computer science coursesReference for raylib API usage

FAQ

What is raylib-games?
It is a collection of small sample games made with raylib, a C library for game development. Most games were created during Global Game Jams.
What games are included?
It includes original jam games like Dr Turtle, Just Do, Skully Escape, Koala Seasons, Light my Ritual, Wave Collector, Transmission Mission, Cat vs Roomba, Re-Pair, RETRO MAZE 3D, and classics like Arkanoid, Asteroids, Snake, Tetris, and more.
What license is used?
All game sources are licensed under an unmodified zlib/libpng license, which allows static linking with closed source software.
Are the games updated?
Yes, the README states all games are usually updated to the latest version of raylib.
How can I contribute?
You can send a PR if some games do not work properly, as mentioned in the repository.