# SIG-DRG 2026-10-29 — Session Notes

Participants:
  - Anuraj | UTC+0200
  - Spencer Norwick | UTC-7
  - Chris Caine Lee | UTC - 5
  - shreeram
  - Andre Comeau | UTC-5
  - Giovanni Merlino | UTC+2

---

## 📖 The Reading
Not clearly identified in the discussion. This session was not a reading discussion but a project/demo working session focused on a blockchain-based "capture the flag" robot game that Anuraj built, plus meeting-time logistics and planning for an upcoming conference (DevCon in Mumbai).

## 🧭 Overview
The group opened by renegotiating the recurring meeting time due to European/US daylight-saving shifts and overlap with a separate "fiction" meeting. Anuraj then demoed a web-based "capture the flag" game that lets people remotely drive real robots via crypto wallet signatures, explaining the architecture (Cloudflare worker, relayer, on-chain records, MuJoCo WebAssembly simulator). The session closed with planning to onboard several members' robots ahead of DevCon (Nov 3–6, Mumbai) and extensive brainstorming of richer game mechanics.

## 💡 Key Points & Themes

**Meeting logistics**
- **Anuraj:** Europe moved clocks back an hour; the meeting stayed at 16:30 UTC, but US clocks shift the following week, which would push the local time to ~08:30 Pacific.
- **shreeram:** 08:30 is too early (child drop-off); can't join before ~09:30 but is fine catching up via notes/channel.
- **Spencer** and **Andre:** prefer a later slot; both attend the overlapping "fiction" meeting and don't want a conflict. Andre suggested Tuesday/Wednesday to spread meetings across the week.
- Tentative plan: move to **Wednesday at 17:30 UTC** (keeps ~19:30 for Finland/Israel, ~09:30 Pacific). Anuraj will post a poll and check with absentees (Rafa, Mayer, Jenna).

**The "Capture the Flag" robot game (Anuraj's demo)**
- Inspired by the **Yoink** game on **Farcaster**, where a virtual flag could be "yoinked" between wallets via on-chain transactions, with a leaderboard by capture count.
- In Anuraj's version, users visit a web page listing available robots, sign an **EIP-712 signature** with a crypto wallet (e.g. MetaMask), and gain control ("capture the flag") of a real robot for a lease period (currently 5 minutes).
- A **relayer** inside the Cloudflare worker pays the gas, so players need a wallet but no crypto/ETH. Everything runs on the **Sepolia testnet** (fake ETH, no real transactions).
- The identity of each driver and drive count is stored on-chain in transaction **call data** (Solidity function parameters), decodable as an immutable record. A random nonce prevents signature replay.
- A **leaderboard** tracks how many times each robot has been driven; Anuraj noted additional leaderboards (most-driven robot, most online time) are already possible.
- Rate limiting: currently one drive per 10 minutes (5 min drive + cooldown) to rotate players; Anuraj flagged these mechanics as tunable.

**Architecture / how it's built**
- A Cloudflare worker ("capture flag") holds a database of registered robots and continuously polls each robot's **gateway** endpoint to detect online/offline status, propagating this to the game's front page.
- Operators only need to keep their **gateway running** and share their **ngrok URL**; they can turn the robot on/off whenever free.
- The **simulator** (shown for waiting players) is a replica of the real robot. Anuraj built it by: getting an STL file from vendor **Adeep** (after proving purchase with an Amazon receipt), using **MuJoCo** (Google DeepMind's C++ physics engine, compiled to **WebAssembly** via Emscripten), and rendering with **three.js**. An ESP32 is used to simulate the robot camera.
- Everything is in the repo (**robot-capture-flag**), with `agents.md` and `architecture.md` docs that an AI agent can read to explain the system.

**DevCon planning**
- **DevCon**, Nov 3–6 in Mumbai (~10,000 attendees); Anuraj is bringing a robot and wants multiple online robots mapped to cities (India/Berlin/Seattle, plus possibly Italy).
- Most conference attendees will already have wallets in-browser, lowering friction.
- Anuraj referenced a prior DevCon (Bangkok, 2 years ago) where he and Venkat ran a Farcaster-style robot that cost 1 USDC to reserve — this project is a more sophisticated successor with a relayer.

**Game-design brainstorming**
- **Andre:** wants mechanics that create competition *between* robots in different locations, not just ownership — e.g. robots searching a room for the next robot in sequence, or doing laps judged by a secondary observer camera.
- **Spencer:** suggested dynamic shared screens/April tags each operator sets up, so a capture in one location updates all screens simultaneously; also extra gamified metrics (furthest-away operator, most drives, night-owl vs. daytime), plus third-person spectator cameras.
- **Giovanni:** proposed "physical-to-virtual robot soccer" — a virtual ball in a shared environment moved by physically distributed UGVs.
- **Anuraj:** floated Pokémon-Go-style NFT minting via QR codes read by the robot camera, and "virtual portal/door" installations connecting locations, plus YouTube streaming of robot cameras with informational overlays.

## 🔀 Questions & Disagreements
- **Meeting time** was the main open point: no single slot works for everyone (shreeram is hard-blocked before ~09:30). Resolution deferred to a poll.
- **Spencer** asked whether a user with two wallets could quickly switch between them to game the system and whether that can be prevented; **Anuraj** said this is controlled by the wallet vendor and he can't change it much, and doesn't think it matters.
- Spencer also asked whether the 10-minute cooldown is too long; Anuraj agreed mechanics need fine-tuning as more people play.
- Technical hiccup: **Spencer's** screen share and audio were breaking up, and his drive attempt didn't fully work during the demo — unresolved, likely a local permissions/bandwidth issue.
- Open design question (Andre): how to make geographically distributed robots genuinely *compete* rather than just be individually operated — raised but not resolved.

## 🔗 References Mentioned
- **Yoink** game on **Farcaster** (original inspiration)
- **MuJoCo** physics engine (Google DeepMind), its WebAssembly build, and **Emscripten**
- **three.js** (JavaScript 3D rendering)
- **Adeep** / "King Kong Robotics" robot and simulator (STL file source)
- **ESP32** microcontroller (camera simulation)
- **Cloudflare Workers**, **ngrok**, **MetaMask** (and a mention of Coinbase wallet, untested)
- **EIP-712** signatures; **Sepolia** testnet; **USDC**
- **DevCon** (Mumbai, Nov 3–6); prior DevCon in Bangkok
- Repo: **robot-capture-flag** (with `agents.md`, `architecture.md`)
- Pokémon Go (cited as a location-based game analogy)
- People named: Venkat (collaborator on the earlier Bangkok robot); Rafa, Mayer, Jenna (members who were absent)

## ✅ Action Items & Next Time
- **Anuraj:** post a poll in the main thread proposing a move to **Wednesday 17:30 UTC**, and check availability with absentees (Rafa, Mayer, Jenna).
- **Anuraj:** start a dedicated **DevCon thread** for asynchronous coordination.
- **Robot operators (Spencer, Giovanni, Andre, Rafa):** switch gateway to the `capture-flag` branch (`git fetch` then switch), uncomment the environment-variable block, and set `TELEOP_CAPTURE_FLAG_ENABLED=1` (keep other variables at default); then ping Anuraj with your **ngrok URL** to be added and tested.
- **Giovanni:** ping Anuraj on Discord to arrange a setup/test time (tentatively after Anuraj's meetings tomorrow morning).
- **Spencer:** test his robot with Anuraj ~2 hours after this call (tomorrow ruled out — flying; back in Seattle next Tuesday).
- **Anuraj:** coordinate separately with Rafa on his robot.
- Next meeting: pending the time poll; DevCon coordination to continue async.

## ⭐ Memorable Quotes
- **Anuraj:** "So this is like an immutable tool of who drove, and it's kind of stored on the blockchain."
- **Spencer:** "It's awesome to be able to log in and pilot a robot from wherever — just little extra things to enrich it."
- **Giovanni:** "Something like what it calls a physical-to-virtual robot soccer... the ball is only virtual, but the UGVs in physical space move the virtual ball."
