Who is Undercover is a game suitable for playing together at parties. The game Who's Undercover has two characters, undercover and civilian. Undercover agents and civilians first need to draw lots to obtain their respective identity words. The identity words of undercover and civilians are similar but not the same (such as "table" and "chair"). After the player gets the word, he doesn't know whether he is an undercover agent or a civilian. The game allows players to take turns describing their respective identity words, and analyzes everyone's speech to discover companions and identify undercover agents. The source code of the Who is Undercover game is implemented through websocket in HTML5, so the browser must support HTML5. The source code program of the Who is Undercover game is mainly divided into 4 categories: an announcement class (Common), a web client (HtmlWebSocket), a server (WpfApplication1), and a communication implementation class (WebSocket).
Expand