# tsherif/space-shooter.c

A cross-platform, top-down 2D space shooter written in C using only platform libraries.

Repository: https://github.com/tsherif/space-shooter.c
Canonical: https://ross.abutalabs.com/products/space-shooterc
Homepage: https://tsherif.github.io/space-shooter.c/site/
Language: C
License: MIT
License Family: permissive
Topics: c, game-development, opengl, emscripten, linux, wasm, webassembly, win32, cross-platform, gamedev
Last push: 2022-08-26T18:16:31+00:00

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

## Adoption (not part of the score)
Stars 1375, forks 78 (observed 2026-08-28T04:04:33.179175+00:00)

## What it is
A cross-platform, top-down 2D space shooter written in standard C11 using only platform libraries (Win32/Xlib/Emscripten, OpenGL, XAudio2/ALSA/OpenAL). It serves as a demonstration of building a complete game without third-party dependencies.

## Use cases
- play a lightweight 2D space shooter on Windows, Linux, or in the browser
- learn how to write a cross-platform game in pure C with no third-party libraries
- study platform abstraction layers for graphics, audio, and input
- compile a C game to WebAssembly with Emscripten
- explore game architecture documented from scratch

## When to choose
- you want a dependency-free example of game development in C
- you need a small 2D game that runs natively on Windows and Linux or in a web browser
- you are learning low-level game programming inspired by Handmade Hero

## When to avoid
- you need a full-featured game engine or production game framework
- you need macOS support, which is not yet implemented
- you want a project that accepts external contributions
- you prefer working with established game engines like Unity, Godot, or SDL

## Facets
- artifact type: application
- maturity: maintenance
- function: game-engine, graphics, audio-processing
- domain: cross-platform
- platform: windows, wasm, c
- tags: space-shooter, c11, opengl, emscripten, platform-libraries, 2d-game, game, game-development, linux

## Member repositories
- tsherif/space-shooter.c (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:33.179175+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-30T08:39:28.824996+00:00, confidence not recorded.
  - readme: https://github.com/tsherif/space-shooter.c (fetched 2026-08-28T04:04:33.179175+00:00, sha 0a9cf4d456f2)
  - homepage: https://tsherif.github.io/space-shooter.c/site/ (fetched 2026-08-29T11:56:48.708719+00:00, sha 674eaa388fdd)
- Data as of 2026-08-30T08:39:29.467469+00:00.
