GithubHelp home page GithubHelp logo

arushmangal / liar Goto Github PK

View Code? Open in Web Editor NEW

This project forked from amphinomid/liar

0.0 0.0 0.0 554 KB

who's the liar? ๐Ÿคฅ โ€” Play this simple web-based game with your friends (featured on Product Hunt!)

Home Page: https://liar-ga.me

License: MIT License

JavaScript 83.68% CSS 8.61% HTML 7.72%

liar's Introduction

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!

liar's People

Contributors

4ndrej avatar afmcdnl avatar alucatero03 avatar amphinomid avatar anirudh09041 avatar fatima-rami avatar francesca-belfiore avatar krissylegaspi avatar nishka219 avatar piall avatar raghav-max avatar tanyasingh7 avatar thehannankhan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.