RetoBox
Random challenges for parties and get-togethers, on the web and as an offline Android app
The same APK Google Play distributes, with its signature, to install the app without the store; it gets the same updates and you can switch to the Google Play version without uninstalling. Android will ask you to allow apps from this source.
RetoBox is a random challenge game meant to be played on a phone at parties and get-togethers. Add the players, pick a challenge collection and the app draws a challenge that fits who is playing, revealed with a slot machine or a 3D dice animation.
It exists as a website, with accounts and public collections, and as an Android app that works offline. Both share the same business logic.
What it does
- Animated reveal: slot machine or 3D dice
- Each challenge states how many players it needs; only doable ones are drawn
- Three draw modes: no players, random players or chosen players
- No repeats: one-off challenges never come back and repeatable ones come up with decreasing probability
- Ready-to-play public collections (Party, Family, Dinner with friends, Office, Trip…) and your own
- Combos: word groups mixed across several slot machines at once
- Email or Google accounts, a guest mode merged on sign-in, and challenge import/export
How it is built
The website is a React + Vite + TypeScript SPA with Tailwind, Framer Motion and Zustand, on top of a FastAPI + SQLite API. It is deployed with Docker Compose: nginx serves the SPA and proxies /api to the backend.
The mobile app is built with Expo and uses its own SQLite database, with no backend. Draw logic, validations and collections live in a shared TypeScript package (@retobox/shared) with parity tests against the backend, including statistical tests of the randomness.
Technologies
- React
- TypeScript
- Vite
- Tailwind CSS
- FastAPI
- SQLite
- Expo
- Docker
Other projects
- Android app Counters Android app to keep count of anything, with history and yearly reports
- Android app Worca Local-first work shift calendar, with shared calendars and reminders
- Android app LiftLog Strength training log with week-based plans, automatic rest timers and personal records
- Android app Isaac Guide Unofficial offline guide to The Binding of Isaac: Repentance, with a single search box
- Android app La Estantería Comic, manga and book reader for Android and Windows: your files, offline, no accounts
- Android app El Puntero Your PC's mouse and keyboard on your phone: gesture touchpad, air mouse and media over Wi-Fi
- Android app El Reproductor Your music on your phone and your PC: what you play most at a tap, offline and with a widget
- Web app Soundlift Playlist downloads at the best available quality, with every track scored and verified
- Web app Blindbox Shared rooms to gather everyone's photos and videos and reveal them together at the end
- Desktop app PC Toolkit Windows utilities with one installer and a manager in the system tray
- Infrastructure PiStation A Raspberry Pi homelab that hosts my websites and services, with no ports open to the internet