Top 200 ReposEXPLORER
Browse agents, categories and pages
Back to results
Planned, not doneThe source describes an intention, not a finished result.

Adapt an Arcade Classic for Two-Player Play

Overview

Use Claude Code on the source of an arcade-style game you may modify to add a second player playing at the same time and map both players to the controls of a home cabinet.

Problem or Objective

More in Games and Simulations

AI Agents and Models

Tools and Integrations

Tools
Git
Prerequisites
Claude Code with a Claude subscription or Anthropic Console account, game source you may modify, and a home arcade cabinet or two sets of controls for testing.

How It Works

Start from game source you are allowed to change, such as your own remake or an open-source version whose licence permits modifications, and put it under git. Open Claude Code in the project and ask it to explain how input, player state and scoring are structured before changing anything. Then ask for a plan to add a second simultaneous player: a second player object, separate lives and score, shared or split screen rules, and what happens when one player is out. Review the plan, then let it make the change in small steps, building and running the game after each one. Next, list the keys or buttons your cabinet sends for each player and ask Claude Code to move the controls into a single mapping file so you can change them without touching game logic. Play both sides on your computer first, commit each working step, and only then copy the build to the cabinet.

Implementation Workflow

Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.

  1. Choose the agentSet up Claude Code.
  2. Connect the toolsConnect the tools this workflow relies on: Git.
  3. Check the prerequisitesClaude Code with a Claude subscription or Anthropic Console account, game source you may modify, and a home arcade cabinet or two sets of controls for testing.
  4. Gather your detailsCollect what the prompt asks for: Game project, Licence or permission, What happens when one player is out, File for control mappings, Cabinet buttons per player.
  5. Run the starter promptPaste the starter prompt below into Claude Code and adapt it to your case.
  6. Check against the documentationCompare what you get with the documentation at code.claude.com before you rely on it.

Practical Starter Prompt: Add a second simultaneous player

Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].

Preview
This repository is [Game project], which I am allowed to modify under [Licence or permission]. First explain how input, player state and scoring work, without changing anything. Then propose a plan to add a second player playing at the same time, with separate lives and score and the rule [What happens when one player is out]. Wait for my approval of the plan. After that, make the change in small steps, building and running after each, and ask me before each commit. Finally move all controls into [File for control mappings] using these mappings: [Cabinet buttons per player].

Approve the plan before any code changes and approve each commit after the build runs. Play both players on your computer before you copy the build to the cabinet.

Expected Results and Benefits

This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.

This is a suggested workflow, not a reported outcome. The Claude Code overview says it reads your codebase, edits files, runs commands, and that it plans the approach, writes the code across multiple files and verifies it works. No cited page covers game engines, arcade cabinets or controller mapping, so how smoothly the two-player change goes depends on how the game is written and on your own playtesting.

Limitations and Considerations

Check the licence of the game code and of every graphic and sound before you change or share the build; the code of an original arcade game usually belongs to its publisher. Check how your cabinet presents its buttons to the computer, for example as keyboard keys or as game controllers, before mapping them. Keep each working step in a git commit so a broken change is easy to undo. Most ways of using Claude Code require a Claude subscription or Anthropic Console account. Results depend on your setup and were not independently reproduced by Top 200 Repos.

GitHub Repositories

AI Agent Repository

Source code of the agent that does the work.

Related Videos

About anthropics/claude-code

About anthropics/claude-code

Independent creators. Listing a video implies no endorsement, sponsorship or partnership.

Sources

  1. Overview - Claude Code Docs (opens in a new tab)

    Project documentation · code.claude.com · Undated · Source checked 25 Nov 2026, 11:57 UTC

    What this source supports
    • Claude Code is an agentic coding tool that reads your codebase, edits files, runs commands, and integrates with your development tools.
    • Claude Code plans the approach, writes the code across multiple files, and verifies it works.
    • Most surfaces require a Claude subscription or Anthropic Console account.
Report a problem

More with Claude Code

Planned, not done

Create Custom Store Tools Instead of Paying for Subscriptions

Use Claude Code to write small in-house tools for an online shop, such as a reply helper for support mail or a margin report, as an alternative to paying for separate apps, with testing before you rely on them.

code.claude.comanthropics/claude-code
Reported by source

Answer technical questions by letting async agents run experiments

Simon Willison sends research questions to cloud coding agents such as Claude Code for web and Codex Cloud, which write and run experiments in a dedicated repo and open a PR.

simonwillison.net · 6 Nov 2025anthropics/claude-code, openai/codex
Planned, not done

Structure Repeated Browser Research Into Evidence Tables

Give Claude Code the open-source Browser Use CLI with a local browser, ask the same research questions across a short list of pages, and keep every answer as a sourced table row.

github.comanthropics/claude-code, browser-use/browser-use

View all: Claude Code