hitztourney's People
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
Create an interface for adding matches on the fly
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
Allow expansion on player stats page to show all records against a player and/or with a player
User stats "Game History" should show all games played
A user's "Game History" currently only shows the results from the current season. It would be good to either show all games played, by default, or have an option for this.
Create History page that lists all games played, sorted by date
Show "Next Match" not just this match
currently "next match" shows the match being played, not the match after. We should probably show this, next and the one after that.
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?
Create a record database
Automatically extract data from save file
1.) use opl to host the save file on a server
2.) Monitor the file
3.) Read the file and interpret it (see https://gist.github.com/nickdanger3d/c4f96de496f2cfc4365d )
4.) Detect changes from the last read
5.) use changes to figure out who played a game, and add that game to our database.
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
Stats page should default to Lifetime rankings, not Current Season
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
Read only view (for public availability)
Work to support ongoing, non-tourney use
Change to blue favicon
(see email from 10/23/15)
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.
Move to a DB backend
mysql or sqlite, probably sqlite to keep it more portable
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.
Create backup/restore feature
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
Show rating changes since beginning of season/since last session, etc.
ideally tweakable.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.