Gitlab 2 Player Games

To make the game playable online, GitLab needs to know how to deploy it. Create a new file in your root directory named .gitlab-ci.yml and paste the following basic configuration:

To understand how two people can play a game inside a code repository, you have to look at the core mechanics of Git. In a traditional game, a central server processes player inputs and updates the game state. In a GitLab game, the repository acts as the server, and Git commits serve as player moves. gitlab 2 player games

So go ahead. Fork a repo. Deploy a game. And don't tell your team lead we sent you. To make the game playable online, GitLab needs

# 🏆 GitLab Games Leaderboard

You can find experimental mechanics that never make it into mainstream games. Zero Cost: Almost all games are free to download and play. In a GitLab game, the repository acts as