/liar

who's the liar? 🤥 — Play this simple web-based game with your friends (1700+ games played, featured on Product Hunt!)

Primary LanguageJavaScriptMIT LicenseMIT

who's the liar? 🤥

Play this simple web-based game with your friends!

About & Acknowledgements

I didn't invent this game! I decided to make this after seeing a video of a Kpop group playing it. It's built with Firebase and React (I wasn't super familiar, so I followed a few really nice tutorials). Styling for buttons was done using thesephist's blocks.css, and game IDs were generated with node-randomstring. Usernames are the only player-specific data stored in the database. I did not enable Firebase's Google Analytics for this project.

Usage

You can visit liar-ga.me to play. Instructions are here. (Would recommend playing over video call with friends)

Contributing

As I mentioned, I don't have a ton of experience building Firebase-React apps, so I'm not sure if everything I did was most efficient / best practice / most secure. Also, there are a lot of different scenarios this app doesn't handle gracefully (e.g. joining / leaving mid-game), and the current set of categories / words is quite limited. If you see anything you want to improve, feel free to report a bug in the Issues section or make a PR! (Note: in order to test locally, you'll need to set up a Firebase project, create a file named 'firebase.js' in the src directory, and fill it in as follows:

import firebase from 'firebase'

var firebaseConfig = { ... }; (copy-paste, provided by Firebase upon setup)

firebase.initializeApp(firebaseConfig);

export default firebase;

To add categories and words, follow the pattern in the Room.js file. Please do not add harmful or offensive words; those will be removed.

tldr — this project is open to contributions and feedback :)

Upvote from Product Hunt CEO!