Skip to content

flashcrow2000/coinFlip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This will be a 2-participants experience. One participant joins the game by clicking 'Flip a coin', is paired with another participant (if there is no other participant online, an AI participant will be offered) and then a game of coin flip starts. Requirements for implementation:

  • node.js server (obviously)
  • each joining participant gets a unique ID and if there are no other participants, it's queued
  • if there is already a queue, a random participant is popped and the two are paired.
  • between the two, a random one is selected and he/she can decide on what to bet (head / tail)
  • the coin flip happens (insert ugly animation here)
  • winner / loser are selected, some information is displayed, and the option to flip another coin is presented.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published