See the (temporary) live demo: https://bingemasters-host.web.app/
Bingemasters is an actor guessing game built on the MERN (Mongo, Express, React, Node.js) stack, where an image of an actor appears on the screen and players attempt to correctly identify the actor.
The goal of the game is to obtain the highest streak/score by consecutively answering correctly within the time limit. In addition, having a high streak allows the user to post to the leaderboard.
Do you have what it takes to become the ultimate Bingemaster?
As Developer Pete remarks:
"The motivation for this came from a similar game that my friends and I play on WhatsApp. Someone on the chat will post two actor names and a year. Whoever responds quickest with the correct movie both actors were involved in gets to drop the next clue. This game is an early prototype based on this idea."
-
Easy and Hard modes, in which users can play by selecting multiple choice options or correctly typing out the actors’ names, respectively.
-
Global leaderboard with user-inputted names and rankings based on streaks in descending order.
-
Passport Google User authentication; Only logged in users can view the leaderboard.
-
Embedded RESTful API to handle GET and POSTs of streaks into a Mongo database.
-
Tracks a users’ logged in status through cookie sessions.
-
Modal pop-ups based on click events.
Bingemasters also uses a number of open sources projects to work properly:
-
Front-End:
- HTML
- CSS
- JS
- React
-
Back-End:
- Node.js
- Express
- MongoDB
-
Notable Node Modules | Libraries
- Axios
- Cookie-Session
- Http-Proxy-Middleware
- Mongoose
- Passport
- Passport Google OAuth 2.0
- React-Modal
- React-Redux
- React-Dom
- React-Router-Dom
- React-Redux
- Redux-Thunk
- Styled-Components
-
API:
Install the dependencies and devDependencies and start the server.
Back-End
$ npm i
Front-End
$ cd client
$ npm i
Have two separate terminals open... At the folder's top level directory:
Back-End
$ npm run dev
Front-End
$ cd client
$ npm start
- Transition to React Native for Mobile release.
- Refactor Passport.js (Google strategy) for less messy code.
- Refactor modal behaviors.
- Other TOP SECRET features.
Front-End: https://github.com/codymccoderson/bingemasters-mini/tree/newbackgroundswag/src
Back-End: https://github.com/codymccoderson/bingemasters-backend
Front-End aka 'Style God: https://github.com/codymccoderson