# gosu/gosu

2D game development library for Ruby and C++

Repository: https://github.com/gosu/gosu
Canonical: https://ross.abutalabs.com/products/gosu-gosu
Homepage: https://www.libgosu.org/
Language: C++
License: NOASSERTION
License Family: other
Topics: gosu, c-plus-plus, ruby, game-development, game-engine, libgosu
Last push: 2026-07-03T16:38:43+00:00

## Health v2 (maintenance only)
Score: 63/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 90, release rhythm 8, longevity 100
- inputs: {"age_days": 6329, "days_push": 61, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2084, forks 177 (observed 2026-08-28T04:06:11.800305+00:00)

## What it is
Gosu is a lightweight 2D game development library for Ruby and C++, providing a window/main loop, 2D graphics and text via OpenGL, sound and music, and keyboard/mouse/gamepad input. It is often used to teach Ruby and for game jams, with published games on Steam.

## Use cases
- build a 2d game in ruby
- make a 2d game in c++
- teach programming with game development
- create a game for a game jam
- play sounds and music in a 2d game
- handle keyboard mouse and gamepad input

## When to choose
- you want a simple, lightweight 2D game library with few dependencies
- you are teaching or learning Ruby through games
- you need cross-platform 2D graphics, audio, and input in one library

## When to avoid
- you need 3D rendering or a full game engine with editor
- you need advanced networking or physics features
- you are building non-game graphical applications

## Facets
- artifact type: library
- maturity: active
- function: game-engine, graphics, audio-processing, animation
- domain: cross-platform, education
- platform: windows, cpp, ruby
- tags: 2d-games, sdl2, opengl, gamepad-input, beginner-friendly, game-development, macos, linux, ios

## Member repositories
- gosu/gosu (main) score 63

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:11.800305+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:55:52.530878+00:00, confidence not recorded.
  - readme: https://github.com/gosu/gosu (fetched 2026-08-28T04:06:11.800305+00:00, sha 80967329f84c)
  - homepage: https://www.libgosu.org/ (fetched 2026-08-29T10:35:52.435390+00:00, sha 4db5a59a2579)
- Data as of 2026-08-30T08:39:29.467469+00:00.
