dartmouth-cs52-17s / mafia-client Goto Github PK
View Code? Open in Web Editor NEWMasterminding and Friendship, In A Game (MAFIA Game)
Home Page: http://mafia.surge.sh/
Masterminding and Friendship, In A Game (MAFIA Game)
Home Page: http://mafia.surge.sh/
Randomly generated colors for names (per user)
...[User] is typing... (like iMessage or fb messenger)
for some reason, sometimes a player never joins the room
The lobby view is a holding room. Once enough players have joined the lobby, the game will begin. The owner of the lobby (the "creator" in the game model) is allowed to press a "Begin Game" button when enough players have joined.
force next, reveal etc.
This is a quick view that appears for ten seconds or so before navigating to the holding room view. It simply displays to the player what their current role is, so that they can be informed going into the game.
names are long
need to be wider
make a button to advance to the next stage
creator of the game should be the only one who can click "Play Game"
when creator click the button, all players' screen should move on to the next stage
kill -> player status to false
heal -> player status to true
this includes notifs such as "user joined room", "user died"
Routing from landingpage to sign in to sign up
Users need to be able to leave and re-enter the chat room. Chat rooms also need to persist on reload of browser.
Create a page that shows all the users registered so far
Print at frontend
Depending on your role, this stage can have a few different looks:
just for aesthetics
-selection
-status update
-loop
-how to end a game
allow multiple lobbies and users to join
The first time, it successfully signs in (and says so in the console), but it takes a second connection to show the log out button and a link to start the game
A game stage that assign each player a role
It would be cool to have chat history in a lobby like the chat history in the slack channel. New joiners will be thankful of that.
and replace with clicking the main img instead
Basic structure
State sets up
The repeated narration stage in each round:
-narration
-reveal who is alive and dead(opacity)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.