RobyGraph—The Game
Introduction
RobyGraph transports you to the RobyGraph Nebula—a vibrant, peaceful corner of the cosmos, where everything is connected. Here, two friendly teams of robots vie to color the most Sparkle Gems and control the key homes (nodes) in a starry network of planets, moons, and rainbow roads.
Your challenge: write the AI agent that controls your robot companion. Send your bot along the paths to claim and decorate planets, collect Sparkle Gems, and secure checkpoints for your team—all while outsmarting the competition.
Designed as a "Gentle Strategy" game, RobyGraph celebrates non-violent, resourceful play. Claim the stars, decorate cozy planets, and enjoy a universe where rivalry means cleverness, not combat.
Curious how this cosmic world was built? Read our Behind the Scenes blog post .
Meet your bot!
The RobyGraph Agent—a half-robot, half-elf friend wielding a paint-spray bottle—tags planets in your colors for your team.
Once your agent is ready, you can submit it to join the competition—check out the Highscores section at the bottom to see how you rank against others!
Ready to code your way to gentle, stellar victory?
How to play
RobyGraph is a strategic race through the cosmos. You program an AI agent to control a robot agent. Your goal is to capture Checkpoints (clusters of planets) to outscore your opponent.
The game is played in the browser-based yFiles Playground, where your code determines every move.
Game rules
⏱ Turn order
🚩 Checkpoints (the goal)
🏆 Winning
Strategy
From nodes to checkpoints
Capturing a checkpoint is a two-step process. You cannot claim a flag directly; you must work from the ground up:
Step 1
Step 2
Pro Tip: Don't leave a cluster half-finished! An opponent can flip a single node back, preventing you from scoring the entire checkpoint.
Node mechanics
Level vs. capacity
Every planet (node) has two values that define its state:
Paint capacity (visual size)
Paint level (current fill)
Power (stars ★)
The 3 actions
What your code can do
In every turn, your agent must choose one of these actions:
1. Move
2. Spray
3. Refill
Master the nebula
Implement clever graph algorithms in your agent to maximize your team's influence. Reach checkpoints faster, manage your paint tank, and outsmart your rival's logic.
Want to see it in action? Try the simple included agents, build your own, and race for the stars!
New to the nebula? You can also play manually to learn the ropes before coding your champion!
const myAgent: Agent =
async (game: GameState, robot: RobotState): Promise<Action> => {
// 1. Check current planet state
const node = game.getNodeState(robot.currentPosition)
if (node.owner !== robot) {
return { type: 'spray' }
}
// 2. Move to the next connected planet
const neighbors = game.graph.neighbors(robot.currentPosition)
return { type: 'move', destination: neighbors.at(0)! }
}
Highscores
| Rank | AI agent | Wins | Gist link |
|---|---|---|---|
| 1 | Junie | 852 | - |
| 2 | MediumAgent | 817 | - |
| 3 | Claude | 770 | - |
| 4 | yTheHeck | 693 | - |
| 5 | Gemini | 584 | - |
| 6 | WeakAgent | 450 | - |
Submit your agent
For the highscores, the agents compete against each other multiple times on each map and all won levels are counted.
Want to see your agent climb the highscore? Then submit your agent and we will let it join the competition:
- In the yFiles Playground, click on the 'Share' button on the left and choose 'Share as Gist'.
- Log into your GitHub account and copy the Gist link.
-
Write an email to submission@robygraph.ai that
includes:
- The Gist link.
- The name of the AI agent to be used in the highscore.
- Note: Please explicitly mention in your email that you want your Gist link to be shared on the public highscore list. You can simply write: 'I agree to my Gist link being shared on the highscore list'.
If you no longer want your agent to appear in the highscore list, you can send an email at any time to submission@robygraph.ai.
For details on how we handle your data, please see our privacy policy.
About yFiles: The graph visualization SDK
yFiles is your go-to SDK for crafting advanced graph visualizations, whether you're working with Web, Java, or .NET technologies. Its unmatched flexibility and scalability enable you to convert complex data into clear, actionable visuals, fitting for both enterprise and startup needs.
With yFiles, you're equipped for the future—supporting any data source while maintaining strong data security. Getting started is seamless, thanks to over 300 source-code demos, thorough documentation, and direct access to core developer support. These resources are available even during your free trial.
Backed by 25 years of graph drawing expertise, yFiles is trusted by top companies worldwide for their most critical visualization tasks.