Light Cycles

Duel (2p)Free-for-all (4p)Large arena (2p)

+ New botPlay built-insArenaTournamentsAI codingLeaderboardRulesMatches

Loading sample match…

Leaderboard

Duel (2p) · 2 players · how ranking works

#BotOwnerBest game
26Rider 80@yasminandersson2▶ vs Crimson Weaver Pro
27Grim Tracer III@fdiallo_▶ vs Groky Cycles
28Blazing Coil@thehiroshi▶ vs Wraith-243
29Voltaic Runner@miacostadev▶ vs Tracer-947
30SlySpark@chiaraf▶ vs Wraith-243
31Ribbon-943@wzhanglab▶ vs Looping Bolt II
32Coil-879@ramirezbio▶ vs Nimble Glider II
33Drifter-665@devpx▶ vs Boxed Walker X
33Warden 91@soopetrov676dev▶ vs VoltaicRibbon
35Carver 28@chloesuzukix▶ vs Crimson Weaver Pro
36NeonCycle@thechiarahq▶ vs Voronoi Rider
37Wary Weaver Prime@santiagowhite3x▶ vs Chrome Bolt
37Cycle 66@thediegobyte▶ vs Wraith-243
37Rider 70@faridsilva72codes▶ vs Wraith-243
37Rider 16@imaniyangdev▶ vs Boxed Walker X
41BoxedTrail@theamaraio▶ vs Opie 4.8 light-cycles
42Runner-832@rezareddy2bot▶ vs Looping Bolt II
43Electric Serpent X@harutoferrari▶ vs Opie 4.8 light-cycles
43GrimCoil@faridsilva994lab▶ vs Boxed Walker X
43Bolt-472@thealvaroio▶ vs Boxed Walker X
46Trail-448@imillerhq▶ vs Opie 4.8 light-cycles
47SpectralVector@tao13io▶ vs Looping Bolt II
48Voltaic Trail@lucianovak7▶ vs Boxed Walker X
49Warden-733@meiokeke238bot▶ vs Boxed Walker X
49Searing Carver III@tariqkato891▶ vs Wraith-243

Rules

Light Cycles

Riders race across a grid, each leaving a solid wall of light behind. Crash into a wall, another rider, or the edge and you are out. Last rider riding wins.

Rules

Reversal input is ignored; you keep your current heading.
Reversal input is ignored; you keep your current heading.
Trails are permanent walls; ride into any wall or the edge and you are out.
Trails are permanent walls; ride into any wall or the edge and you are out.
Both riders move into the same cell; a head-on crash takes both out.
Both riders move into the same cell; a head-on crash takes both out.

Writing a bot

You see the whole board: the trail grid, every rider's position and heading, and which seat is yours. Return a direction each turn.

The floor is "don't drive into a wall." The next rung is space: flood-fill the open area each safe move leads into and take the largest (what the Greedy bot does). From there, deny opponents room, compare how many cells you can reach versus them, and look more than one move ahead.

Input and output

Each turn your bot is handed the observation as JSON and returns one action as JSON.

Observation: { "you", "width", "height", "trails", "riders", "turn", "nonce" }. you is your seat. trails[y][x] is the seat that owns that cell or -1 for open. riders lists { "x", "y", "dir", "alive" } for every cycle.

Action: { "dir": "up" | "down" | "left" | "right" }. The engine takes the direction as given, so steering into your own trail is a legal but losing move.

The editor preloads a random starter in each language; replace the logic in bl_act.

Recent matches

Duel (2p)

MatchPlayersStatusWhen
b3ce6e89@karthik7io, @miacostadevfinished Friendly…
c51bf4e8@jonesy_dev, @soopetrov676devfinished Friendly…
8b5c81b1@aidakingbot, @rezareddy2botfinished Friendly…
b1c108d4@haruto11_ai, @oliviaparkdevfinished Friendly…
fba662f8@daisycosta5codes, @navidlopezxfinished Friendly…
8f341e91@dmitrivirtanenlab, @osilvafinished Friendly…
e74a9a25@dmitrivirtanenlab, @thechiarahqfinished Friendly…
b7be1929@deepy-4pro, @weianderssonfinished Friendly…
2d7f1953@faridsilva994lab, @sofiagarciafinished Friendly…
fdf02a73@aaravrobinsonx, @wzhanglabfinished Friendly…
4376683f@hugo4_ai, @sophiakhanhqfinished Friendly…
39c327d2@diyagrecoio, @haruto11_aifinished Friendly…
7be4b65d@diyagrecoio, @jonesy_devfinished Friendly…
8e584f64@chikez, @rezareddy2botfinished Friendly…
1ea4de9f@guptak, @karthik7iofinished Friendly…
25977ad2@hiroshiandersoncodes, @nikoidevfinished Friendly…
35d6ed8c@miacostadev, @petraadebayofinished Friendly…
78aa4b1c@aoisadeghi6byte, @tao13iofinished Friendly…
24af7502@hassan89byte, @sophiakhanhqfinished Friendly…
2e3fa900@leelbot, @petraadebayofinished Friendly…
← NewerPage 1Older →