Code Monkey home page Code Monkey logo

sr-tracker's People

Contributors

shimdevkun avatar

Watchers

 avatar

sr-tracker's Issues

SR-0012 -- Website breaks when there is less than 2 game stats

Describe the bug
If there are only less than 2 game stats, the website breaks.

To Reproduce
Steps to reproduce the behavior:

  1. Have less than 2 game stats
  2. Launch the website
  3. See error

Expected behavior
The website should not break. Instead, the user should be inform that there is not enough data to display the previous and/or current skill rankings.

Screenshots
image

Additional context
This happens in PreviousSkillRanking and CurrentSkillRanking because we try to access values at indexes that do not exist.

SR-0008 -- Implement Game Session Tracker

As an Overwatch player,
I want to track how many games I have won, lost and draw during a game session
So that I can have a better picture of my performance every time I play

Conditions of success

  • I can start and stop a game session
  • I can see the number of win, losses and draws
  • Whenever I enter a new game stat, the game session stats are updated

SR-0010 -- Implement Lose Streak Tracker

As an Overwatch player,
I want to know my lose streak
So that I am aware of my performance

Conditions of success

  • I know how many games I've lost in a row
  • Whenever I win a game, my lose streak resets
  • Whenever I draw a game, the lose streak doesn't end but it doesn't decrease my lose streak either

SR-0004 -- Add game statistics

As an Overwatch player playing support,
I want to add statistics for a new game
So that I can compare my gameplay evolution

Conditions of success

  • I can access the add form from the home page
  • I must enter my new sr (0 - 5 000)
  • I can enter the healing done (0 - 50 000)
  • I can specify the hero played (only 1 for now)
  • I can specify the map
  • When clicking on the add game statistics action with valid data, I'm redirected to the home screen
  • When I'm redirected to the home screen, I see my new sr updated
  • I can exit the add form to return to the home page without adding a new game stat.

Other technical notes
I must means the field is required.
I can means the field is optional.

SR-0007 -- History - Apply new design

As an Overwatch player,
I want the new Figma design applied
So that I can have a better user experience

Conditions of success

  • The Figma design has been applied on the view history layout

SR-0002 -- Display sr difference

As an Overwatch player,
I want to know my sr difference with my last game
So that I can remember what my last sr was and how it is evolving

Conditions of success

  • I see my sr from the previous game
  • I see if I gained or lost sr
  • I see how much sr was gained or lost

SR-0001 -- Display current sr

As a user
I want to see my current sr
So that I know what my ranking is

Conditions of success:

  • I see my current sr

SR-0009 -- Implement Win Streak Tracker

As an Overwatch player,
I want to know my win streak
So that I am aware of my performance

Conditions of success

  • I know how many games I've won in a row
  • Whenever I lose a game, my win streak resets
  • Whenever I draw a game, the win streak doesn't end but it doesn't increase my win streak either

SR-0013 -- Add date to sr game stat

As an Overwatch player,
I want to know the date of a game stat I entered
So that I can have a visual evolution of my sr over time

Conditions of success

  • I can enter a date when adding a game stat
  • I can view the date of a game stat on the history page
  • The date can be entered by using a calendar component

SR-0011 -- Implement Data Persistence

As an Overwatch player,
I want my data to be saved each time I visit the website
So that I don't lose information about my performance in the previous games

Conditions of success

  • When I reload the page, the existing data is persisted
  • When I close the website and go back, the existing data is persisted
  • When I modify any data, this one is persisted

SR-0006 -- View History

As an Overwatch player playing support,
I want to view my game statistics history
So that I can compare my performance over time

Conditions of success

  • I can access the history view from the home page
  • I see all the game statistics (sr, healing done, hero, map) for each game played
  • I clearly distinguish which statistic is which (i.e.: column header)
  • The data is displayed from newest to the oldest
  • If no data available, there's a message to indicate so

SR-0003 -- Home page - Apply new design

As an Overwatch player,
I want the new Figma design applied
So that I can have a better user experience

Conditions of success

  • The Figma design has been applied on the home page

Other technical notes
The redesign should only be applied to the existing components.

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.