
(The project)
Tiltionary is a multiplayer drawing and guessing game for your phone, where you draw by tilting it. You drop a ball on the canvas and roll it around to draw the word you were given, while the other players guess in the chat. The faster you guess, the more points you score.
The app is built with Expo and React Native, with Expo Router for navigation, Zustand for state and the Firebase Realtime Database to keep every phone in sync. One hook listens to the room and writes everything into a store, so screens never talk to Firebase directly. The host's phone moves the game from phase to phase, and the drawing streams to all players live.
Besides the game there is a sandbox to practise the controls, and you can save or share your drawing as a photo or as an animated GIF that replays how you drew it. The look follows a styleboard based on Google's developer event branding: four brand colours, flat shapes with thin outlines, and light and dark mode on every screen.
Because it uses the accelerometer and other native features, Tiltionary only runs on a phone, so there is no playable version on this website. The video shows a full game on two devices.
Demo video
View code ↗Demo: an Android phone and an iPhone playing a round together.