Skip to content

Arcade › Rota Relâmpago

Rota Relâmpago

0
Remix it

About Rota Relâmpago

How to play

Play right here in your browser without an account or download. Follow the controls shown in the game, and use Play fullscreen for a larger view.

Make your own game

Rota Relâmpago was built by gacep24946 with the Cinevva game creator: describe the game you want in chat, watch it get built, and play it in your browser minutes later.

Remix Rota Relâmpago opens the real game in the creator and forks its actual files, chat and design doc, so you start from the code rather than from a description.

Read the build brief for Rota Relâmpago

Cinevva's analyzer read this game's design doc and its source, then wrote the brief below. "Make your own" hands it to the game creator as your opening message, so you start from a real spec rather than a one-line idea.

Create a polished, responsive Portuguese-language browser game titled “Rota Relâmpago,” a hands-off AI route-planning race simulator. The player does not steer a character: they choose a course and start or replay a race between two autonomous AI runners, Nova and Piper, on the same procedurally generated track. Present it as a dark, compact dashboard with two side-by-side race panels, not as a conventional action platformer.

At the top, show a small arrow-like brand mark, the title and short subtitle about two strategies competing on the same track, plus compact pills indicating 30 stages/3 biomes and that records are saved in this browser. Add a toolbar containing a stage dropdown, mint primary “▶ Disputar” button, secondary “↺ Replay” button, “Reiniciar” button, and a status line. The dropdown has 30 numbered stages, divided into three ten-stage biome groups and labeled with difficulty progression (beginner, intermediate, advanced). Use Portuguese UI text.

Below, create two equal-width lane cards. Each header has a colored glowing dot, racer name/number and algorithm description: NOVA 01 in mint, described as A* / learned-time cost; PIPER 02 in pink, described as beam search / combinations. (The visible label may say A*, but implement Nova’s path choice as the code’s shortest-path/Dijkstra-style search and Piper’s as a beam search that retains up to 16 candidate routes and slightly rewards consecutive repeated techniques.) Show each racer’s large digital elapsed timer in its accent color. Each panel contains its own canvas rendering of the identical course and that racer’s route, plus a footer with the route’s sequence of technique labels and progress percentage.

Build a layered directed course graph. It begins at a single center-lane start node, continues through 7 stages (add one stage every six course indices), each with three vertically arranged lane nodes, and ends at one center-lane finish node. Connect every node in each column to all three nodes in the next column, and all final-column nodes to the finish. The course runs left to right. Draw unchosen connections as thin, dim blue-gray lines and nodes as small pale dots; make the finish node larger and gold. Highlight each AI’s selected path with a thicker translucent mint or pink line and small uppercase technique labels. Put “INÍCIO” at lower left and “META” at lower right with a thin accent baseline near the bottom. Render a glowing rounded-square runner token with a tiny dark face, moving smoothly edge-to-edge along its planned route; show a thin bottom progress bar in its color. The screenshot’s essential visual is a sparse branching graph on a deep teal-to-navy background, pale nodes and links, and a single bright gold goal node; retain this clean diagrammatic appearance rather than adding scenery or realistic characters.

Generate deterministic course layouts from the stage index. Assign edge techniques based on lane changes: same lane = RUN; one-lane change = JUMP or WALL depending on the destination lane; two-lane change = DASH, WAVE, or HYPER depending on difficulty tier. Occasionally designate an upper-lane transition as HYPER. Final connections use RUN from the center lane and DASH from other lanes. Each edge has a base duration and risk cost; both agents independently select a complete route using their strategy and their stored technique memories. Run the two agents simultaneously, advancing along their route edges with elapsed timers. Upon completing an edge, update that agent’s persistent per-technique memory multiplier slightly based on observed duration, clamped to a modest range (about 0.82–1.28), so subsequent races can improve or worsen its route estimates. The race ends when both finish; announce winner or draw, show both times and the time difference, and save the best stage record locally. Keep a small record-history card showing up to seven recent stage records. Include a short explanatory learning/status line describing the algorithms, replay, or updated memory as appropriate.

Replay should rerun the exact previously planned pair of routes for the currently selected stage, using current simulation timings; disable it when no matching prior route exists. During a race disable the start/replay controls. Reiniciar cancels the current race, clears active runners/timers and returns to a ready state without erasing saved memories or records. Selecting a different stage resets the displayed route and progress and loads that course. Store learning memories and stage records in browser local storage so they persist between sessions.

Use a refined dark UI palette (#0b1020 background, deep navy panels, subtle blue-gray borders, white text, muted blue-gray secondary text), with mint (#72f3c5), pink (#ff77ac), and gold (#ffd166) accents. Use a clean geometric sans-serif for headings and a monospaced font for timers, status, labels, and route details. Cards have rounded corners and subtle borders; buttons and select are compact dark rounded controls with a strongly colored mint start button. Give the three ten-stage biome groups distinct canvas palettes: Bosque Nebuloso (deep teal/green), Forja Carmesim (plum/crimson/warm orange), Céu de Safira (navy/blue/pale sky). Add a few subtle pixel-like background specks, no elaborate visual effects. Fit desktop with two panels in one row and stack lower result/history cards as space requires; adapt to small screens while preserving readable controls and the two race panels. This is an observational strategy-racing simulation: do not add direct movement controls, combat, collectibles, lives, or unrelated gameplay.

More free browser games

Browse the whole Arcade →