Atalaia

The test server and its live demo (tests.atalaia-project.link and demo.atalaia-project.link) are offline until about 3 December 2026 while the maintainer is travelling. This page, the code and the releases on GitHub stay available.

Pre-alpha · phases 1 and 2 done in software; real boards play whole games with the field controller on the bench, keypad included; phase 3 done in software, the iOS app checked on an iPhone; phase 4's site server running on a test server; phase 5 built in software · newest release v0.11.0 · not field-ready yet

The open force-on-force platform

Atalaia is an open platform for the electronic props of airsoft, paintball and milsim: the boxes teams capture, the bombs they arm and defuse. Build a domination box from a €20 microcontroller (a tiny, cheap computer board), turn an old Android phone into a hacking terminal, run a 20-box weekend milsim on a LoRa mesh (long-range, low-power radio that the boxes relay to one another across the field), and write your own game modes as small scripts. Every game runs on the field itself: no cloud or internet needed, and no manufacturer can lock you in.

Atalaia (ah-tah-LYE-ah) is Portuguese for watchtower: a lookout on a hill that watched for trouble and passed the warning along. Why that name?

Illustration: at dusk, a stone watchtower on a hilltop carries a radio box whose signals reach glowing orange GAME PROP boxes spread across a forested valley, while a group of players walks past them. Painted text reads "Open-source project ATALAIA".

How a game works

Playing needs no technical knowledge. This is how a game will run once the boxes are built (phases 1 and 2); the simulator already plays the same modes on a computer today.

  1. Set up

    The organisers place the boxes around the field and pick a game mode, such as Domination, on a box's keypad or from a phone, in under a minute.

  2. Capture

    To take a box, a team holds its colour's button for a few seconds. The box lights up in that colour and scores for the team until the other side takes it back.

  3. Relay

    Each box reports by radio to the field controller, a small computer at the base; boxes far away are relayed by the ones in between. A box that loses contact keeps playing and catches up later.

  4. Score

    The controller adds it all up. The organisers follow the game live on their phones, and the field can show the score on a big screen or on a stream.

Why Atalaia

Electronic props add a lot to a game, but commercial systems keep the rules locked inside closed firmware. New modes wait on the vendor, there is no public API, and you cannot add your own hardware. Atalaia does it differently.

  • Local-first

    Every game runs on the field itself, fully offline, from a single house to a multi-kilometre forest. The internet is optional.

  • Any hardware

    Cheap ESP32 boards, credit-card-sized Raspberry Pi computers, simple Arduino-class boards and new or repurposed Android phones all have a place in the same game. The software for the ESP32 boxes, the field controller and Android phones is written; the Arduino-class boards come later.

  • Modes are scripts

    Game modes are short Lua scripts, small text files of rules, with a settings file: easy to read, change and share, and no mode needs code of its own in the boxes' built-in software. The boxes carry their modes built in, and between games a box can get a signed new mode from the field controller without reflashing (reinstalling) that software: built, not yet tried on a real box.

  • Open protocol and API

    Props talk over Skirmesh-RF, a documented radio protocol, so anyone can build a device that joins in. The field controller offers MQTT, REST and WebSocket APIs for scoreboards, stream overlays and other tools.

  • Built for fields

    Player roles, squads, check-in at the field with a printed poster, and a chrono registry that keeps each replica's signed readings for spot checks are built in software; custom scenarios come in phase 4.

  • Copyleft

    Fields that charge entry and makers who sell boxes are welcome. Anyone who ships or hosts a changed version shares the changes back.

How it fits together

In plain words: the props on the field talk by radio to the field controller, a small computer at the base that runs the game and keeps the score. Phones connect to it over Wi-Fi, and scoreboards, stream overlays and map apps such as ATAK through its API. An optional site server on the internet keeps accounts and history. The controller, its API and the organisers' console are built and play with real boxes on the bench, not yet on the field; the site server is built too and runs on a test server, not yet at a real field.

An optional site server connects over the internet to the field controller. GM and player apps reach the controller over Wi-Fi, scoreboards and other tools over MQTT and REST, and props over the Skirmesh-RF LoRa mesh. Site server (optional)accounts · history · player app internet GM and player appsWi-Fi Field controllerRaspberry Pi or Android Scoreboards, ATAKMQTT, REST, webhooks Skirmesh-RF · LoRa mesh Field BoxESP32 SatelliteESP32 Android propwith an ESP32 pod Thin nodeArduino-class
  1. Site server (optional): accounts, history and the player app, over the internet.
  2. Field controller on a Raspberry Pi or Android: GM and player apps join over Wi-Fi; scoreboards and ATAK use MQTT, REST and webhooks.
  3. Props on the Skirmesh-RF LoRa mesh: ESP32 Field Boxes and satellites, Android props with an ESP32 pod, and Arduino-class thin nodes.

Under the hood, every device that runs game modes uses the same shared core, written in C11, and the same Lua modes; only a thin layer for each kind of hardware differs. A mode written once plays the same on a box, a phone or a Raspberry Pi.

Isometric illustration: a small stone tower with a radio box on top stands in the middle of a square base, ringed by eight orange and yellow GAME PROP cases with antennas, all linked by a glowing circle.
The field controller is the watchtower: from the middle of the field it keeps every prop in sight.

How the radio works

The props talk over LoRa, a long-range, low-power radio, in Atalaia's own protocol, Skirmesh-RF. Two diagrams show what LoRa can and cannot do on a field, and how one protocol runs on very different devices. None of it has been on a real field yet.

How the radio works, in two diagrams →

Game modes

Modes react to intent ("a team is claiming this prop"), not to hardware, so the same script runs on a Field Box, a keypad box or an Android phone. Fourteen modes, one modifier and the Medic Kit are written and tested in software today; none has run on a real field yet.

Domination

A team holds the prop's input for a few seconds to claim it, and scores every tick while it keeps it. The other team can take it over at any time.

Team buttons · one box or many

Bomb / Rush

Attackers arm the bomb, then defend it; defenders must defuse it before the fuse runs out. An explosion ends the game, the attackers winning. Arm and defuse by holding a button, or give each team its own keypad code.

Team buttons or keypad · fuse and hold times are settings

Kill Confirmed

Players carry signed NFC tags. A team scans the tags it collected at a station: an enemy's tag confirms the kill, a teammate's denies it. Forged tags are refused.

NFC reader · player tags

See all 14 modes →

What it looks like

Three modes as the box shows them: animations drawn by the Field Box's own firmware code, not mocked up. The button under each picture pauses it. Further down, the app's screenshots.

Animation of a Field Box playing Domination. The screen shows a neutral zone; red holds its button, the small screen's bar fills, and the zone turns red with its points counting up. Then blue holds its button and takes the zone over, and the game ends with the final score.
Domination on a Field Box: a team holds its button to claim the zone, the points climb while it keeps it, and the other team can take it over.
Animation of a Field Box playing Bomb. The screen shows the bomb ready; red holds its button to arm it, the countdown starts at 4:59, blue holds its button to defuse, the bar fills, and the screen turns blue to show the bomb is defused.
Bomb / Rush: arming by holding a button, the fuse counting down, the defenders defusing in time.
Animation of a Field Box playing Sabotage. The screen shows the bomb ready with the score 0 : 0; red holds its button, the bar fills and the bomb is armed; it explodes and the screen turns red, a point for red. A pause shows 1 : 0 and the time to the next round, then blue holds its button to defuse the second bomb and the screen turns blue, a point for blue; the game-over screen shows red the winner.
Sabotage: bomb rounds with a score, an explosion for the attackers, a defuse for the defenders, until the time is up.

See every mode →

The real box, on the bench

The modes above are animations drawn by the firmware's code. This is the Field Box's bench build (one board and loose wires, no enclosure) playing Domination for real.

The Field Box on the bench (1 November 2026), with the new TFT screen: the hold bar fills, the blue team takes the zone, the held time counts up and each team's points show in the corner. No enclosure yet, loose wires still. See the build and the photo →

The Android app

The app's own screens are in Portuguese, English, German and Traditional Chinese, and it draws each mode's screens from the same YAML files as the Field Box. These are the app's test images, not photos of a phone: the app has run on Android emulators, not yet on a real phone.

The app's first screen, "What will this phone do?": four choices, each with a line on what it does: Game prop, Player, Marshal and Game master.
Pick what this phone does in the game.
An Android phone as the bomb: the mode's countdown screen ("ARMED", "4:47", "until detonation") above two big buttons, red and blue, to hold.
A phone as the bomb, with the teams' buttons.
The player's view: the game's name, 20:00 to go, the blue team's 20 points above the red team's 12, who holds each objective, and what happened.
Players follow the game on their phones.
The player's view of a field with its own branding: the field's logo and name, Campo Norte, in the header, its wallpaper faint behind the view, and the teams Águias and Lobos with their crests and scores, 20 to 12.
A field's own logo, wallpaper and team crests.
The marshal's chronograph: the velocity keypad, the BB weight and a green "PASS", with the highest energy and the limit.
Chrono check-in, the reading signed by the marshal.

The Medic Kit draws its screens from the same YAML files on a Field Box and on an Android prop, in Portuguese unless the GM sets English, German or Chinese. Here they are as the app draws them:

Medic Kit screen: "LIGADURAS" (Medic Kit) header, a large 4, "Restam 4 ligaduras" (4 heals left) and, in yellow, "Lê a tua etiqueta e mantém premido o botão" (scan your tag, then hold the button).
Waiting for a player, with 4 heals left.
Medic Kit screen: the player's id, b1, in a blue header, "Mantém premido para tratar" (keep holding to heal), 4 seconds to go in yellow above a progress bar, and "Largar antes do tempo cancela" (letting go early cancels).
Player b1 holds the button to be healed.
Medic Kit screen on blue: a white cross, "DE VOLTA AO JOGO" (back in the game), b1, "Tratamento 1 de 2" (heal 1 of 2) and "Restam 3 ligaduras" (3 heals left in the kit).
Back in the game, with the first of two heals.

Try it today

No hardware is needed: the shared core runs on a computer. The simulator plays a mode in your browser: hold team buttons, watch each prop's screen and follow the event log. The commands below are typed in a terminal.

With a C compiler

cmake -S core -B build -DATALAIA_SHARED=ON
cmake --build build
cd simulator
python -m atalaia_sim serve ../modes/bomb

With Docker only

cd simulator
python ../tools/docker_sim.py serve ../modes/bomb

Then open http://localhost:8000. You need Python 3.10+ with PyYAML. The simulator guide has every option.

On a board

The firmware of the Field Box, the USB radio modem and the I/O pod is written, and all three run in tests on a computer. The Field Box's and the modem's run on real Heltec V4.3 boards on the bench: a box joins the field controller's games over the radio, through a second board as its modem, plays them to the end and takes firmware updates over the air, its small screen showing the game; the pod's has not run on a board yet. To try a bare board without a box, there is a bench build of the firmware (keys over the USB cable). To build a box and flash it, follow the build manual; the firmware guide builds the modem and the pod too.

On an Android phone

v0.9.0 (6 November 2026) is the first GitHub release that carries the app: atalaia-app-0.9.0.apk, signed with the project's key so that each release installs over the one before. The newest, v0.11.0 (7 November 2026), installs over it and keeps the app's data; from v0.10.0 the APK is built without the signing key and signed in a separate offline step. Its certificate's SHA-256 fingerprint is 9C:35:0D:17:37:D6:C5:35:CD:3E:D1:04:28:8E:65:AD:7D:B4:FA:CE:8E:4E:6F:27:75:3B:7B:7C:38:40:A1:99; Android refuses an update signed with another key. An app installed from an older debug build must be uninstalled once first (the manuals say what it loses). Or build the debug APK yourself with Docker and install it on a phone with Android 8.0 or later, or on the Android emulator, as the app guide explains. It has run on emulators, not yet on a real phone.

Playing and running it

Manuals for the people who use Atalaia, not for developers: for players, organisers, marshals, box and phone-prop operators, field admins and the people who build the boxes, in English and Portuguese, with a one-page quick start. They say what the software shows today and mark what has not been tried on a field.

Roadmap

Six phases, each closed by a real field test: its gate. The software is ahead of the hardware: phases 1 to 3 are done in software (real boards play whole games on the bench, and the iOS app has passed its checklist on an iPhone); phases 4 and 5 are built in software. The gates wait for built boxes, field tests, a real server and the project's registry key. The newest release is v0.11.0 (7 November 2026): at check-in the player's app proves it is the phone that registered, and staff see whether a check-in is bound or unbound; the hardened Field Box image's burn procedure is prepared, and by the maintainer's decision no board gets it for now. Nothing has to be updated together. v0.10.0 (7 November 2026) brought review fixes that harden the stuck-box recovery, failover and the ticket check-in, and a release APK signed offline; v0.9.0 (6 November 2026) the stuck-box recovery (one bench test so far) and the first Android app signed with the project's key.

  1. Done

    0 · Foundations

    Shared core, Lua sandbox, Skirmesh-RF codec and browser simulator. Gate met.

  2. Software done

    1 · Single box

    Field Box firmware and a build manual; a real board plays whole games on the bench, now with its screen, keypad and buttons wired up on loose wires (photo and clip on the build page). Leaving an ended game at the box came with v0.9.0, not yet tried on a real box. From v0.10.0 the box's admin menu opens during a game only while the game is paused or waiting, and the hardened release image builds; v0.11.0 prepares its burn procedure, and no board gets it for now. Still waiting for an assembled box.

  3. Software done

    2 · Field network

    Skirmesh-RF over LoRa, field controller, API, GM console and a mode pack, tested in software; on the bench, real boards play whole games with the controller over the radio, and what the bench found is fixed in software. Freeing boxes left in an ended game came with v0.9.0 and passed its first bench test. v0.10.0 hardens it: a box ignores a field-wide release on another channel or while it still hears its game, and the automatic resends keep to one air budget. Waiting for 5 built boxes on a field.

  4. Software done

    3 · Android and players

    Android props, the I/O pod, the player app and the modes that need phones: done in software, iOS included (checked on an iPhone). The field test waits for real phones and pods.

  5. Software done

    4 · Site server and advanced play

    Site server, game scheduling and registration, custom scenarios, advanced modes, ATAK. Every software step is built; Google and Microsoft login have been tried for real on a test server. A real server, the hosted go-live conditions and the hardware tests are next.

  6. Software done

    5 · Community

    Visual mode editor, signed mode packages, the mode registry as a template, German and Traditional Chinese, build guides, the expansion port's target and output modules. Every software step is built. The newest release, v0.11.0, is signed with the project's release key and carries the Android app, built without its key and signed with the project's Android key in a separate offline step.

The full roadmap, with what each phase holds and its gate →

Community hub

Fields, teams and builders will meet here. Everything is opt-in: the hub holds only what people choose to publish, and game data stays on each field's own servers.

  • Open

    Discussion

    Questions, ideas, reviews of the design and event reports. Go to Discussions

  • Planned

    Build gallery

    Photos, bills of materials, enclosure files and wiring notes for each build, starting with the first Field Box prototypes.

  • Planned

    Field and team directory

    An opt-in list of fields and teams that use Atalaia, with region, site type and a contact link.

  • Planned

    Mode and scenario browser

    The mode registry is live, with no modes in it yet: be the first. A browser with descriptions and community ratings comes later.

  • Later

    Usage statistics

    Opt-in, anonymous totals of versions, platforms and modes played. Off by default.

  • Later

    Hosted site servers

    For clubs without IT support, at cost, with every club's data separate and exportable.

Get involved

Atalaia is built by players, field owners and makers. You can help today by:

Every commit carries a Signed-off-by line, and the project is strictly clean-room, written from scratch: no code, firmware, manuals, sounds or images from any commercial product.

The Atalaia badge: three watchtowers on sand dunes, with signal fires on their tops joined by an arc, above the word ATALAIA.

The name

An atalaia is a watchtower: a lookout post on a hill or a stretch of coast. The word came into Portuguese from the Arabic aṭ-ṭalāʾiʿ, "the scouts", and estar de atalaia still means "to be on the lookout".

A field controller sees every prop on the field and tells the GM the moment something changes. Watchtowers were local-first too, and ran the original low-bandwidth mesh: smoke by day, fire by night, relayed from tower to tower. Skirmesh-RF follows the same rules with LoRa.

Field safety

Atalaia props are game equipment. Make them look like game props: bright colours, clear "GAME PROP" labels, and nothing resembling a real explosive device. Transport them in labelled cases, never leave them unattended outside the field, and treat lithium batteries with care.