Giter Site home page Giter Site logo

fearvel / poker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from halomakes/poker

0.0 0.0 0.0 3.54 MB

Planning poker with SignalR

Home Page: https://app.planning.rocks

License: MIT License

JavaScript 1.13% C# 21.61% TypeScript 47.60% HTML 10.97% Dockerfile 0.63% SCSS 18.06%

poker's Introduction

PokeR

Build Status Docker Pulls

Realtime planning poker with SignalR.

Check out the demo!

PokeR is a realtime planning poker app built with .NET Core and Angular. It features a custom-built frontend with some slick animations to make your next planning session just a little bit nicer. There's also a REST API that you can use to customize the game to your liking.

PokeR uses Entity Framework Core in-memory. If you need persistence for some reason, you can swap this out for SQLite or another provider. Data is seeded on startup from the json files in the project's root directory. You can also edit options via the exposed REST API. Documentation for the API can be viewed in the Swagger UI at /swagger.

Quickstart

The easiest way to get going is by pulling down a ready-to-go image from Docker Hub.

docker run --name poker --restart always -d -p 80:80 halomademeapc/poker

Overview

Room creation screen You can pick any integer that isn't already taken to be your room number. This number will appear in share links to your room. Options for the deck to play with are Modified Fibonacci (.5, 1, 2, 3, 5, 8, 13, 20) and T-Shirt Sizes, but more can be added by configuring the defaults JSON file or by posting new decks to the REST API at runtime.

Room join screen Users can join your room by going directly to /rooms/{roomId} or by going to the homepage and clicking on the "Join a room" button. The first person into the room (assumed to be the person who created it) is designated as the host and gets extra controls to manage voting.

Roster pane If you need to change who is in the host role, expanding the Roster tab on the left then dragging-and-dropping the crown icon onto another user will transfer ownership of the room to them.

Playfield Cards are played face-down and revealed once everyone has played. If someone changes their vote mid-round, you will see an animation of the original card being withdrawn and the new one being played in its stead.

Confetti If everybody happens to have the same vote, you'll be greeted with some celebratory confetti for the concensus courtesy of confetti-js. One danger with this is that people like it so much it can start to encourage groupthink.

Countdown If a user is AFK or otherwise responsive and is holding things up, the host can set a deadline for the voting round. Everyone will see the countdown and once time is up, votes will be revealed even if not everyone has responded.

New round button The host can begin a new round to clear out any existing votes and start things off fresh.

Theme icon Theme switcher The app will respect your OS dark mode preference by default. If you hover over the icon in the top-right corner, you can switch themes manually.

Requirements

To build

  • .NET 6 SDK
  • Node.js

To run

  • .NET 6 Runtime

Building

dotnet publish ./PokeR.csproj

Running

dotnet ./PokeR.dll

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.