количество зарегистрированных пользователей: 69613

МЕДИЦИНСКИЙ ОБРАЗОВАТЕЛЬНЫЙ ПОРТАЛ

Gitlab 2 Player Games <Real>

Many users don't bother indexing their games. Try browsing random usernames: https://[username].gitlab.io/ Look for folders named /games/, /multiplayer/, or /party/.

For a simple local two-player game (same device), create an index.html with canvas and JavaScript.

<!-- Basic structure for shared-keyboard game -->
<canvas id="gameCanvas" width="800" height="400"></canvas>
<script>
  // Player 1: WASD
  // Player 2: Arrow Keys
  // Collision detection & scoring logic here
</script>

| Feature | Review | |---------|--------| | No account required | Most games work straight in browser. No login, no ads, no tracking. | | Works on school/work networks | GitLab Pages domains often unblocked where GitHub Pages is restricted. | | Hotseat or same-device play | Perfect for playing with a friend on one laptop/tablet. | | Open source | Code is visible, moddable, and forkable. | | Lightweight | Usually vanilla JS, HTML5 Canvas — runs on old hardware. | gitlab 2 player games


Inspired to build your own? Here is the fastest way to get a two-player game running on GitLab Pages.

Traditional "game servers" are expensive. However, many two-player games on GitLab use PeerJS or WebRTC to establish direct connections between two browsers. Because GitLab Pages serves the initial HTML/JS payload, the game can facilitate real-time data (like player positions or moves) without needing a backend server. For turn-based games, simply using GitLab’s API or URL query strings is enough to share game states. Many users don't bother indexing their games

| Action | GitLab tool | |--------|--------------| | Discuss player 2’s ability | Issue + task list | | Propose new game mechanic | Merge Request description + code suggestions | | Test multiplayer latency | GitLab Pages + two real devices | | Rollback a broken feature | Pipeline logs + revert MR |

# 🏆 GitLab Games Leaderboard

| Player | Wins | Losses | ELO | |--------|------|--------|-----| | @alice | 12 | 3 | 1350 | | @bob | 8 | 7 | 1200 | | Feature | Review | |---------|--------| | No

Generated by .gitlab-ci.yml from game-results/ folder.


For many teams, the "2 player game" is a way to solve the boredom or anxiety of code reviews. By treating the codebase as a shared artifact that two players must protect, the dynamic shifts from "critique" to "collaboration."

GitLab's features facilitate this "game":