Giter VIP home page Giter VIP logo

rafaeller's Introduction

๐ŸŽŸ Rafaeller: the raffler 2.0

Usage

To run locally, you must first spin up the WebSocket raffle server that communicates with the front-end (this repository).

docker run synon/raffler-server -p 8000:8080
npm start

The raffler should now be available at http://localhost:3000.

  1. At the site root, you'll find the host screen.
  2. Start a raffle by entering the "host key" (admin by default)
  3. Players can now join at /join with the randomly generated 4 digit join code.
  4. When enough players have joined, press [SPACE] to pick a winner.
  5. You can pick winners indefinitely, the raffle pool will stay open until you close the tab or refresh.

rafaeller's People

Contributors

paulinevos avatar rdohms avatar

Watchers

 avatar  avatar

rafaeller's Issues

Implement picking winner

Given I am a host
And a raffle was started
And two players have joined
When I press the space bar
Then a winner is picked
And the winner is displayed on the host screen
And the players are informed of their win/loss

Show QR code on host screen

Given I am a player
And a raffle was started
Then a QR code is displayed on the host page
When I scan the QR code
Then I enter my username
And I can join the raffle

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.