Giter Club home page Giter Club logo

hitztourney's People

Contributors

johnz1 avatar nbonfire avatar

Watchers

 avatar  avatar  avatar

hitztourney's Issues

Undo button

an Undo button should delete the last submitted matchup result. This would be useful in situations where there was a mistake made, or a result was accidentally submitted multiple times.

convert to flask

use flask, jinja, and ajax/server-sent-events instead of cherrypy, mako, and websockets

Add header row for table in Stats page

The Stats page needs a header row, so that titles like "Lifetime" and "Record" don't need to be called out in every row.

I think this would be the column titles for the current way it is layed out:

Rank, Name, Current Season Rating, Lifetime Rating, Lifetime Record

"Choose Players" section should just Lifetime HitzSkill rating

Currently, the "Choose Players" section lists each player's current season HitzSkill rating, then their lifetime rating in parentheses. Since the matchup algorithm uses the lifetime rating, it would be more simple to just list the lifetime rating, and not the current season rating. The current season rating is not very important, and can still be viewed in each player's "User Stats" page. This would also clean up the list of players in the "Choose Players" section, so that it only lists each player's name and their lifetime rating.

hitzSaveRead: Do not alphabetically sort output

Currently, the JSON output is sorted alphabetically. Ideally, it should be sorted as the fields are listed in the script. This order is the same as the order the stats appear in the save file

hitzSaveRead: CSV output

It would be great to have hitzSaveRead output CSV. This can either be an option, replace, or add to the existing JSON output.

CSV output: Do not print first line

Do not print the first line, which lists the columns. It currently looks like this:

id,date,istournament,playerid,name,assists,games_played,games_played_actual,goals,hits,one-timer_goals,one-timer_shots,passes,shots,unknown01,unknown02,unknown03,wins,wins_actual

Handle users who are using someone else's nickname

Based on work done for #15 this will be an issue. Sometimes we don't want to erase someone's info so a third party will use their name.

Maybe its not a problem to delete old handles anymore since we track users in the database.
Maybe we shoudl just make newbs use blank names?
@johnz1 What do you think?

more templates

Need to create sub-templates to make everything consistent (header, etc)

Colors of teams

I know the colors were set when you copied the code, but could you change the winners to be green, losers to be red, and both teams blue or white if the winner hasnt been determined?

Winning percentage

Could the winning percentage be displayed as an actual percentage, or decimal value? Currently, it is displayed as a value without the decimal. e.g. If someone is 5-5, it will say "500", not "50%" or ".500"

Change columns in Stats page

The columns in the table on the Stats page should be something like this:

Rank, Name, Lifetime Rating, Current Season Rating, Lifetime Record, Current Season Record

CSV: Change date format

Currently the date column gives the date, month, year, hour, minute, and second. Remove the hour, minute, and second, and just output "year-month-day".

It currently looks like this: 2016-08-10 23:25:22.146248
Change it to look like this: 2016-08-10

Sort Game History by date

Currently, the Game History (in the User stats page) isn't sorted, and displays each game by when it was entered into the system. The game history should be sorted by the date that the games were played.

Remove "on the ___ TV"

Next to the match number, you can remove the "on the _ TV" text. Just "Samsung" or "Sony" is fine, and is less cluttered.

Event title

The name of the event is "2013 HITZ 4/20 Classic", not "HITZ 4/20 Classic 2013".

Not a big deal...

Tiebreaker logic

We need to build-in some kind of tiebreaker logic (probably should be performance vs each other. If still tied after that, raise a flag maybe

Fix back-to-back byes

For some numbers of players, there are back to back byes. We need to reorder the schedule so that doesn't happen.

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.