Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Open Source Games
  3. Hypersomnia

Hypersomnia

AGPL-3.0C++Self-Hosted

A community-driven multiplayer top-down shooter built from scratch in C++ with an in-game map editor and cross-platform play.

Visit WebsiteGitHubGitHub
1.7k stars117 forks0 contributors

What is Hypersomnia?

Hypersomnia is a multiplayer top-down shooter built from scratch in modern C++ without a game engine. It offers tactical gameplay with bomb defusal and gun game modes, featuring an integrated map editor and cross-platform play between native clients and web browsers. The project solves the challenge of creating a deterministic, physics-based multiplayer experience that remains synchronized across diverse platforms.

Target Audience

Game developers interested in low-level C++ game programming, networking, and physics simulation, as well as players seeking a community-driven, extensible shooter with modding and map-making capabilities.

Value Proposition

Developers choose Hypersomnia for its fully open-source codebase, deterministic networking that ensures perfect synchronization, and the unique integration of an in-game editor for instant playtesting. It demonstrates innovative solutions to hard problems like cross-platform determinism and self-contained server hosting.

Overview

Multiplayer top-down shooter made from scratch in C++. Web version: https://play.hypersomnia.io Made in 🇵🇱

Use Cases

Best For

  • Studying deterministic networking in physics-based multiplayer games
  • Learning C++ game development without an engine
  • Creating and playtesting custom maps with friends in real-time
  • Self-hosting a community-driven shooter server
  • Exploring memory pool implementations for game object management
  • Building cross-platform games that run natively and in browsers

Not Ideal For

  • Projects requiring rapid prototyping with visual scripting or drag-and-drop tools
  • Teams without strong C++ expertise for contributing to or modifying the codebase
  • Games demanding 3D graphics or advanced visual effects beyond 2D pixel art
  • Commercial studios needing extensive asset pipelines and engine-level support

Pros & Cons

Pros

Deterministic Cross-Platform Networking

Ensures perfectly synchronized gameplay across native clients (Windows, Linux, macOS) and web browsers, even with physics simulations, by transmitting only player inputs and using techniques like cache reinference.

Integrated WYSIWYG Map Editor

Built with ImGui, it allows instant playtesting of work-in-progress maps with friends, including automatic map downloads for joining players, all within the same executable.

Self-Contained Server Infrastructure

The game executable embeds the editor, game server, and masterserver, enabling easy self-hosting and community server lists without additional software.

Efficient Deterministic Memory Pool

A custom pool implementation provides contiguous storage, O(1) operations, and deterministic behavior crucial for networking and undo/redo in the editor, as detailed in the tech highlights.

Secure Built-In Updater

Automatically downloads and verifies updates using developer public keys, with signatures verified via ssh-keygen, protecting against malicious builds.

Cons

Complex Build Requirements

Achieving determinism requires using the same compiler (clang) across all OSes and specific flags, making the build process non-trivial compared to engine-based projects.

Limited Game Content Variety

Currently offers only two game modes (bomb defusal and gun game) and 24 weapons, which may feel sparse compared to commercial multiplayer shooters.

Steep Contribution Learning Curve

The codebase involves custom systems like deterministic networking and memory pools, requiring deep C++ knowledge for meaningful contributions or modifications.

No Built-In Visual Scripting

Lacks visual tools for logic or behavior editing, relying entirely on code for game mechanics, which can slow down iteration for non-programmers.

Frequently Asked Questions

Quick Stats

Stars1,697
Forks117
Contributors0
Open Issues12
Last commit1 day ago
CreatedSince 2013

Tags

#multiplayer#community-driven#free-software#shooter-game#game-development#game#open-source-game#cplusplus#shooter#top-down-shooter#map-editor#cross-platform#indie-game#multiplayer-game#2d-game#cpp

Built With

I
ImGui
C
Clang
B
Box2D
l
libdatachannel
D
Docker
C
C++

Links & Resources

Website

Included in

Self Hosted284.1kOpen Source Games2.7k
Auto-fetched 1 day ago

Related Projects

A Dark RoomA Dark Room

A Dark Room - A Minimalist Text Adventure

Stars8,348
Forks1,836
Last commit1 year ago
The Battle for WesnothThe Battle for Wesnoth

An open source, turn-based strategy game with a high fantasy theme.

Stars6,946
Forks1,269
Last commit1 day ago
OpenTombOpenTomb

An open-source Tomb Raider 1-5 engine remake

Stars1,445
Forks162
Last commit1 year ago
PosioPosio

A multiplayer geography game using Websockets

Stars695
Forks70
Last commit2 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub