Giter Club home page Giter Club logo

color-splash's People

Contributors

carlvebbesen avatar haakonte avatar karenhompland avatar mariussjolie avatar varasheim avatar

Stargazers

 avatar

Watchers

 avatar

color-splash's Issues

ResultScreen

Skjermbilde 2022-03-24 kl  13 03 38

At the end of the game the results are showed. Quit goes back to StartScreen

feat/round-started

Server to all clients in game-room, notify that game has started and countdown has begun. sends a time in ms, roundNumber, total number of rounds, and color sequence to be show in frontend

feat/display-colors-event

Server emits to everyone in room that frontend should display colors for each player. Sent with is gameId, #round, total rounds, color sequence (the most important one).

feat/round-ended

Sent from server to every player if round (time is up), or if all players have submitted answers. Sends everyones nicknames and associated scores.

feat/join-game

Ensure correct data is passed from client to server, and store appropriately in rooms data structure.

feat/game-info

Server to clients event, server emits to everyone in room that he/she successfully joined with nickname (maybe other things?) as parameter

feat/player-finished-round

Client to server event, player sends time spent, color sequence answered and other info which might be relevant.

feat/start-game-event

Event sent from host, takes gameID as parameter, and server begins the first round after a couple of seconds.

feat/times-up

Server notifies all players that time is up, which should auto trigger a finished round even if player isn`t finished yet.

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.