As web technologies evolve, the capabilities of GitLab-hosted games continue to expand. The integration of WebAssembly (WASM) allows developers to write games in powerful languages like C++ or Rust and compile them to run at near-native speeds in the browser. Combined with free hosting platforms like GitLab Pages, the barrier to creating and sharing high-quality 2-player indie games has never been lower. To help you find or build the perfect game,
Browser-based 2-player games on GitLab generally fall into two technical categories, dictating how you interact with your opponent. 1. Shared-Keyboard Multiplayer (Local Couch Co-op)
: Specifically filters for projects tagged with "2player".
You can set up automated tests to ensure that a player's move is valid. For example, a python script in your GitLab CI pipeline can check a chess text file to ensure a player didn't make an illegal move before allowing the merge request to close.
Because GitLab does not have a centralized "app store" for games, finding them requires utilizing search filters and tags. Utilizing GitLab Explore
To use GitLab’s deployment features fully, build the game as a (HTML/CSS/JS) or a client-side framework. Example:
For automated testing, write a script that:
Developers use this space to showcase skills in specific languages like Rust, Python, JavaScript, or C#. 2. Top Types of 2-Player Games Found on GitLab