Giter VIP home page Giter VIP logo

xml's People

Contributors

danielmeint avatar felixhennerkes avatar jschnellbach avatar maxkarpfinger avatar

Stargazers

 avatar

Watchers

 avatar

xml's Issues

Delete Function for Games

There should be a possibility to delete a game

  • In the table overview
  • Should happen automatically once no more players are left

Use adjusted cards

In order to stash the cards more narrow, we should use different cards.

Fix double & insurance

  • If you double, you do not lose/win double of your win
  • Insurance is not correctly displayed

Calculate Insurance correctly

Currently our Insurance is as high as the bet. However, the rules point out, that the Insurance is half of the actual bet.
So if your bet is 10, your insurance is 5.

In order to implement it for the frontend, we have to find a way to display the losing/winning money in the results(maybe add a win property for the player or add it to the status)

Cleanup API

The API file needs to be cleaned up.
Logic should be sourced within the other .xq files, while the API should only contain the Paths with the function calls.

SVG cuts cards

In case a card exceeds the width of the table, it is cut off

Screenshot

Bildschirmfoto 2019-07-01 um 12 11 46

MinBet/MaxBet

Idea: Add a minBet/maxBet function for the game.

Current:

  • Kicken bei <5
  • Input Field auf min 5 anpassen

Later:

  • Insert them in the "New Game" Form
  • Change them during the game

UI

  • spieler einsatz anzeigen (neben pfeil)
  • spieler balance anzeigen (neben pfeil)
  • karten kleiner, enger und position verändern
  • hand value als label auf die karten
  • ergebnisse schöner darstellen (hand value mit rot/grün ergebnis ersetzen)
  • beim player namen eingeben die seite mit einem titel ausstatten
  • load game tabelle state löschen dafür spieler als spalten und mit informationen

Cleanup Helper Class

The Helper Class should should only be used for calculations that help the game, like calculations etc.
Currently it's more than that, cleanup required.

Display insurance properly

The Insurance option is currently displayed like double. The Bet just doubles.
However, insurance is like a side bet, which is like a second bet.

Improve outcome displaying

The outcome of each round has to be displayed with more 🎨
E.g. color the name of the winning players in green and the losing players in red.

Display current bet as Coin

  • The bet of a player should be displayed within his circle
  • The bet should be displayed as a coin
  • The coin should change its color according to the bet
    (e.g. <5 -> white; <10 -> yellow; <20 -> red)

Omit "Show Result"

The "Show result" Button is acutally not required (from UX perspective). However it might be required for the double.

Goal: immediately show the results-dialog

Input felder

spieler anzahl : erste feld darf nicht leer sein
einsätze : wenn leer dann auf 0 setzen

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.