GithubHelp home page GithubHelp logo

zuiverzuigen / io-games Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jeffwang4321/io-games

0.0 0.0 0.0 14.28 MB

Browser based minigames built using Node.js, Express and Socket.io. Implemented a group chat feature, 3 unique minigames and score tracking

Home Page: https://io-games-jeff-wang.herokuapp.com/

JavaScript 59.46% CSS 12.85% HTML 27.70%

io-games's Introduction

IO-Games

IMAGE ALT TEXT HERE

  • Hosted: https://io-games-jeff-wang.herokuapp.com/
  • Browser based minigames built using Node.js, Express and Socket.io
  • Mimics a client server environment using web sockets
  • Client connections organized into unique rooms and can run independently
  • Implemented a group chat feature, 3 unique minigames and score tracking

Features

Chat Features:

  • Users can join different rooms by each entering a player name and the game id
  • Users can assign themselves a unique identification color
  • Users can send groupchat messages to other users in the room
  • A notification is sent when a user joins or leaves the room
  • Chatroom tracks the number of connected users, player name & player color
  • Users can toggle chat display to show or hide the chat modal

Game Features:

  • Score tracking modal displays in real-time
  • Room connection is disabled while a game is in session
  • Room states & display automatically reset at the end of each round
  • User disconnection, empty room state and multi-round edge cases tested
  • Blank tiles change to user color on click (Spam Colors)
  • Interactive prompts display after user input (Party Blanks)
  • Individual card type and info tracked and respond to client interactions (Hearts & Skulls)

How To Play

Spam Colors:

  • Click the blank tiles to get +1 point
  • Game end when all 100 tiles have been clicked
  • Click the most tiles to win!

Party Blanks:

  • Each player takes turns reading the prompt
  • Remaining players have 1 chance to answer the prompt
  • Once remaining players have answered, hit the reveal button to read the answers
  • Prompt reader then selects their favourite answer for +1 point!
  • Click the button to skip bad prompts or end the game

Hearts & Skulls:

  • Each round players can place any combination of 2 hearts and 2 skulls
  • At the end of each round, players bid for the highest # of flips
  • The winning player randomly flips the same # of cards they had betted on
  • Click the button to end the round
  • If the player does not hit a skull after all their flips +1 point!
  • If the player hits at least one skull -1 point

How to Test

$ npm ci
$ npm start

Local testing:

Multiplayer testing:

io-games's People

Contributors

jeffwang4321 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.