The interesting technical challenge was making AIs that don't just play optimally, but play believably – they need to seem human, make mistakes, and have distinct personalities.
Each AI has a different play style: some are aggressive accusers, others play defensive, and some are wildly unpredictable. They maintain consistent backstories and remember what they said earlier in the game.
Built with React, Typescript, Nodejs...
Link: https://ai-mafia.app
Would love feedback from the community, especially on making the AI behavior more realistic!