Inspiration

Keep Talking and Nobody Explodes is a game about communication under pressure. We asked a question: what if the players cannot talk? Sign language is a real way to communicate without sound, and many people want to learn it. Practice with a partner and a ticking clock is more fun than flash cards. So we made a bomb that you can only defuse with ASL.

What it does

Two players join a room in their browsers. The field agent sees the bomb but not the manual. The handler sees the manual but not the bomb. Their only link is a silent video call.

  1. The agent signs the items on a module to the webcam, for example CAT, DOG, COW.
  2. The game recognizes each sign and shows its best guesses. The agent confirms the right one.
  3. The handler reads the signs on the video, finds the manual page and types an instruction. The handler can use Hints to see the word that the agent confirmed.
  4. The agent clicks to act. A wrong action is a strike. Three strikes, or zero time, and the bomb explodes.

Each round starts with a case lock (the agent signs a 3-digit code) and a wire tray (the agent signs 4 colors). Then a board of puzzles opens. Every puzzle teaches a different vocabulary topic, for example animals, food, feelings or weather. There are 19 topics. You can also play solo with Rob, a nervous bot handler. A sign dictionary (the glossary) allows you to see the corresponding ASL for specific words to help with accessibility to beginners.

How we built it

  • Server: Python, FastAPI and WebSockets. The server decides every outcome, such as the matches for the ASL, and verdicts on the answers.
  • Client: plain HTML, CSS and JavaScript modules, with no framework and no build step.
  • Hand tracking: MediaPipe Holistic runs in a Web Worker in the browser. It tracks the user's hands and face data as a set of points, which are then sent to the server for matching.
  • Sign recognition: the 1st-place model from Google's Kaggle ASL competition reads word signs (250 words). A small landmark model reads the digits 0 to 9. We limit the choices to the words on the current configuration of the bomb (categories), helping with accuracy.
  • Video: WebRTC, peer to peer between the two browsers, with a TURN relay.
  • Puzzles: each puzzle is a JSON file of rules using qualifiers (if then ), which are used for generating the manual from the handler's side, creating the logic for the bot in singleplayer mode and validating answer's from the server side.
  • Hosting: Docker on Render.

Challenges we ran into

  • Model Accuracy: The original model evaluated across a dataset of 250 words, so the accuracy was quite low. Instead, after the puzzles are generated and the categories are chosen, we have a fixed list of words, so we apply this filter on the output of the model, and normalize so the odds still add up to 100.
  • Digits: Because the two models we're using were trained independently, the digits model was a lot more generous when giving scores, and would often suggest digits when a player was signaling a word. So instead, we decided to select the model at runtime depending on whether the puzzle was looking for a digit or word solution
  • Privacy: We wanted no video to ever reach the server, so instead, running the Mediapipe Holistic model on the browser allowed us to only extract the position of the face and hands as a set of points, and send those to the server instead of the actual frames.
  • Ease of Access: Designing this game in a way that makes it fun and approachable for people of all levels of proficiency (from complete beginners to fluency), was very challenging. So we added a lot of accessibility features, such as a glossary so you can lookup the ASL of a specific word on the flight, different levels of difficulty (including a custom mode), hints for two player mode when the handler isn't able to register the agent's signs, multiple options of words from the matching engine, and a game logic that is beginner friendly (as the agent, you only need to sign the words that you see, not entire sentences).

Accomplishments that we're proud of

  • You really play the game with sign language, from the webcam, live.
  • Solo mode with Rob, so one person can practice with no partner.
  • It's fun!

What we learned

  • Running machine-learning models on landmarks (set of labelled points) instead of images
  • How to design a game depending on the target audience. Lots of design decisions during this project revolved around how much information should the game supply to both players for it to be an enjoyable and smooth experience, regardless of experience.
  • How to setup a peer-to-peer game and ensuring privacy when communicating with the server
  • Lots of ASL.

What's next for Keep Signing and Nobody Explodes

  • Add a larger vocabulary, more puzzles, and more categories of words
  • A solo practice mode where one can practice how to sign any word in the glossary and check the accuracy.
  • A model that can build full sentences would allow us to go beyond just translating individual words, such as Google's SL2T
  • Replace the bot in single player with an LLM for more natural responses, leading to a more interactive experience in solo mode.

Built With

Share this project:

Updates

Submission history