calculate_state: stage: game_loop script: - ./game_engine.sh rules: - if: '$CI_PIPELINE_SOURCE == "schedule"'
Whether you're taking a break from code reviews or want to challenge a teammate in Tic-Tac-Toe, Chess, or a custom coding duel — this hub makes it possible.
Turn-based strategy games like Connect Four, Battleship, or Checkers built using HTML, CSS, and JavaScript.
Social & process considerations
Players take turns editing a markdown file or updating an issue description to place their "X" or "O".
Each game creates a Markdown record in a dedicated repo.
Players collaborate on a shared story. Each commit adds a new plot point, inventory item, or character action to a running log file. Web-Based Games (Hosted via GitLab Pages) gitlab 2 player games
def play(self): while True: message = input("Client: ") self.client.send(message.encode('utf-8')) response = self.client.recv(1024).decode('utf-8') print(f"Server: response")
To use GitLab’s deployment features fully, build the game as a (HTML/CSS/JS) or a client-side framework. Example:
# .gitlab-ci.yml excerpt pages: stage: deploy script: - cd frontend && npm run build - mv dist ../public artifacts: paths: - public only: - main calculate_state: stage: game_loop script: -
While GitLab wasn't designed to be a gaming console, it provides unique advantages for developers looking to experiment with game hosting and asynchronous play:
: GitLab Pages provides free hosting for your static game projects.
| Column 1 | Column 2 | Column 3 | |---|---|---| | ⬜ | ⬜ | ⬜ | | ⬜ | ⬜ | ⬜ | | ⬜ | ⬜ | ⬜ | Use code with caution. Each game creates a Markdown record in a dedicated repo