DEV Community

Cover image for offline voice-mimic party game in Flutter
Marco Arkento
Marco Arkento

Posted on Edited on

offline voice-mimic party game in Flutter

I made a game called Copy Cat 🐾

Here is how it works

players pick a sound
They can download it from the web right inside the app or record it or just grab any file from their phone
The sound plays out loud
Everyone else tries to imitate it
Then an on device judge grades each attempt on melody rhythm timbre and energy

No internet needed to play
One phone hosts and up to 5 join over the same wifi

Why I built it

Family gatherings and bad internet
Every party game out there wants a server and an account and a login.

The three modes

Random Party : sounds from all players get shuffled into surprise rounds
Player's Choice : each player picks one sound and the others imitate it first while the picker goes last
Host Challenge : the host lines up sounds from their library and everyone imitates them in order

It ships in Arabic and English with dark and light themes plus a little shop with 3D avatars and power ups

The stack

Flutter with Riverpod 3 and go_router
bonsoir for the mDNS discovery plus raw sockets with length prefixed framing
flutter_scene for the 3D avatars
All scoring runs on device with regression tests because I got tired of breaking it

Try it

Source code:
https://github.com/wissam333/Copy_Cat

APK for Android:
https://github.com/wissam333/Copy_Cat/releases

If you play a round tell me how the scoring feels
That part was the hardest to tune and I want it to feel fair more than anything

Top comments (0)