Giter Site home page Giter Site logo

sandra-soto / riddle-me-this Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 976 KB

an online multiplayer riddle guessing game made with node.js, socket.io, and mongoDB

Home Page: http://riddlethis.herokuapp.com/

License: MIT License

Ruby 0.35% JavaScript 66.29% CSS 24.66% Pug 8.70%

riddle-me-this's Introduction

Generic badge Generic badge

Riddle Me This!

Riddle Me This! is an online multiplayer game, in which players race against the clock (and other players) to answer riddles

RMT landing page

Play the game here (http://riddlethis.herokuapp.com/)!

Built with

  • Node.js
  • Socket.io
  • MongoDB Atlas

How it works

webscraping and MongoDB - RMT uses a Mongo database to retrieve random riddles. The DB was populated with data gathered from the webscrape of a popular riddle-hosting website

answer matching - RMT uses a simple regex module to match player answers against riddle answers

public/private game rooms - socket.io allows users to be added to individual rooms. Using this feature, randomized game codes and options for game type (private or public), allow players to be matched with games and to be able to communicate with others within the same game

Features

  • avatar picker: with hundreds of possible combinations, players can choose from different eyes, mouths, and geometric shapes to build an avatar
  • public and private games: users can join a random public game, join a private game via code, or create their own private game to share with friends
  • dynamically updated leaderboard: each player in a game can be found in the game's leaderboard, which updates automatically and sorts by highest score
  • timed rounds, infinite game: each round lasts 25 seconds but the game keeps going on forever

At a Glance

RMT gameplay page RMT gameplay page showing the ranked list of players, a timed riddle, and the game chat

RMT avatar picker More shots of the avatar picker! And a look into selecting a private game from the homepage

How to Install

> git clone https://github.com/sandra-soto/riddle-me-this
> cd riddle-me-this
> npm install
> nodemon index.js

Credits

Sandra Soto - design, frontend, backend (game mechanics), and MongoDB

Kati Tran - concept, title, and webscraping

Built on top of basic socket.io chat forked from Frankenmint - https://github.com/Frankenmint/mmserver/

License

MIT

riddle-me-this's People

Contributors

sandra-soto avatar kati-tran avatar

Stargazers

 avatar

Watchers

James Cloos avatar  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.