Freendercover
- 4 Devlogs
- 10 Total hours
An free application to play Undercover
An free application to play Undercover
To add Mr. White, the role system had to be completely refactored. Previously, it simply assigned a different word to a random player. I switched to a much more suitable system, allowing the host player to choose a custom player distribution, with the caveat that it must be valid (for example, there must be more or the same number of civilians as undercovers and Mr. White). For the mobile app, a cool selector with sliders was needed, where the min, max, activated, and divisions had to adapt in real time to the constraints of the number of players and other selected values. To accommodate these new inputs, I also had to rebuild the host waiting page from scratch. I took the opportunity to tweak a few things and fix some bugs. And I realize that my file that manages multiplayer on the mobile app is an unreadable monster of more than 800 lines, but it’s my first flutter project so I don’t really know how to organize this big bag of interconnected knots… Anyway, I’m having fun.
I have fixed some things : an infinite turns loop when more than 3 players join the game via network multi, a button showed to all players instead the host, a bad message, now builded directly by the api, and some typos
Remaked local mode menu
Creating my first Flutter app, a free version of Undercover