Coder Social home page Coder Social logo

botxan / betandruin Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 2.0 51.3 MB

A betting application developed for the Software Engineering (SE) course.

License: MIT License

Java 94.68% CSS 2.78% Shell 1.69% Batchfile 0.85%
font-awesome java javafx jfoenix objectdb rest-api swing web-service

betandruin's Introduction

Typing SVG

~ Oihan Irastorza ~

betandruin's People

Contributors

botxan avatar itsnko avatar juananpe avatar leireinsausti avatar pablobec93 avatar poxito avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

juananpe alaitz19

betandruin's Issues

Set forecast for a question

As a administrator I want to be able to set a forecast for the question so users and I can win (or lose) the fee.

Create a new question

As an administrator I want to be able to create a new question so I can set fees for the question.

UI Migration (Redesign)

Overview

Since we have migrated to JavaFX, the plan is to move all our GUIs to this new technology. We will track all the redesign from this issue.

Redesigns

  • Welcome page
  • Login
  • Register
  • Navigation bar (Oihan)
  • Admin menu (Leire)
  • User menu (Pablo)
  • Browse events (Browse questions) [Oihan]
  • Create event (Pablo)
  • Create question (Aritz)
  • Create forecast (Aritz)

Whenever you pick a GUI to redesign, add your name next to the feature. When the redesign is finished, mark it as done!

Create a new event

As an administrator I want to be able to create a new event so I can add questions to the event

Place a bet

As a registered user I want to be able to place bets in a given question of a given event so I can use the money I have added to my account.

Remove a bet

As a registered user I want to be able to remove a bet and get my stake back based on the conditions established by the company.

User profile

As a user, I want to check my profile so I can see and modify my account information, such as:

  • Username
  • First name / Last name
  • Password
  • Email
  • Address
  • Avatar

Also, I want to be able to delete my account.

Deposit money

As a registered user I want to be able to deposit my money in my account so I can use it for betting.

Browse events (old Browse Questions) - V2

The new window for browsing events will have the following features:

  • A 3D earth globe where the user can click on a country, and events for in that country will be displayed.
  • A date picker to select the event date.

Prerequisites:

  • Mapping between country name and globe coords (x, y).

Withdraw money

As a user, I want to withdraw the money I have earned from my bets.

Publish results

As an administrator, I want to publish the results of the events so that users can check their wins and losses.

Remove event

As an administrator, I want to be able to remove events in case they have been cancelled or simply cannot be published for other reasons.

Remove forecasts

As an administrator I want to be able to delete forecasts in case they are no longer available or have been created wrong by mistake.

Log-in

As a logged-in user I want to be able to log-in into Bet&Ruin so I can:

  1. Place a bet.
  2. Retract my bet in a timeframe.
  3. See live results.
  4. See current view-rate.
  5. Log-out.
  6. Reclaim my gains.
  7. See my historical bets.
  8. Notify any bug.
  9. Recommend the app and match results to other users.
  10. Add another users to 'friend list' to make collaborative bets.

As a logged-in administrator I want to be able to log-in into Bet&Ruin so I can:

  1. Set fees for a question
  2. Create a new event
  3. Create a new question
  4. Delete questions
  5. Ban users (usually also applies to the ones who are winning too much)
  6. update results
  7. access to the database
  8. Keep in track with the current matches and add them to the calendar
  9. Send messages to logged users (to inform cancelled matches...)
  10. Notify users
  11. Outage maintenance
  12. Set a minimum bet

Administrator dashboard

As an administrator I would like to have a dashboard from where to analyze the status of the application (users, bets, events...) and perform the most common administrator actions:

  • Obtain general information of the application (number of users, events, bets...)
  • Create/delete events/questions/forecasts
  • Ban users
  • Other administrator actions

Welcome (initial) window

As an anonymous user, I want to access the application from a welcome page. From there, I want to be able to see the events, and all the questions for each event. Also, I want to have an option to login or register.

Delete questions

As an adiministrator I want to be able to delete questions, this way the events won't contain inappropriate questions

Two-way history

One way to return to the previous window, and another to go to the next one (if there is a next one).

Ban users

As an administrator I want to be able to ban users so I can punnish those users that are not playing legally and respectfully, the users that are winning too much can be also banned.

Main menu (User use case)

As a user, I want to access a menu as soon as I log in so that I can search for events and place bets.

Browse/Query questions

As an anonymous user I want to browse and query questions so I can be able to see the available queestion, choose one and bet on it.

User dashboard

As a user, I would like to have my dashboard where I can perform the most common operations such as:

  • Betting
  • Check my money movements
  • Deposit money
  • Check/Remove my old bets
  • ...

Sign up /register

As an anonymous user I want to be able to register so I can use all the member-features of Bet&Ruin.

Results

A Question can have more than one result, so each result will have their own fee.

User list section

As an administrator I want to have a section where I can see information about registered users.

Show (money) movements

As a registered user I want to see my money movents in order to know my expenses and incomes within the application, as well as to prove the integrity and validity of my transactions.

Main menu (Administrator)

As an administrator, I want to access a menu as soon as I log in to use all the utilities of a normal user, in addition to being able to create events, questions and add results and fees to a given question.

Cancel bet

As a user, I want to be able to cancel my bets and get my money back.

Change language

Implement a utility to change the displayed language in every window.

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.