jamesgiu / quick-hit Goto Github PK
View Code? Open in Web Editor NEWTable tennis ELO application using React and Firebase
Home Page: https://jamesgiu.github.io/quick-hit/
License: MIT License
Table tennis ELO application using React and Firebase
Home Page: https://jamesgiu.github.io/quick-hit/
License: MIT License
Missing return type should probably be an error
any
should be an error too>
Anything else maybe?
Maybe more plugins?
Instead of storing it in the env, have the user be prompted for an API key that is then stored in redux
This will stop randoms from being able to mess with the TT db
Delete the current svc account key obviously
11 - 1 scoreline = 12 points played
11 - 10 scoreline = 21 points played
The suggestion was that more points = more ELO.
Could be the icons
e.g a 5-banger ratings, 11 banger ratings etc, with different elo for each
similar to how on chess.com you get different elo for rapid, blitz, daily, etc.
Auto deploy
Tests (lol)
Lint
And for other finalist
E.g.
"Winner of Shoot One Out For Dave tournament"
Victim = The player the selected player beats the most
Nemesis = The player the selected player loses to the most
This could be either as a raw score or as a percentage of games played (if this was used, there would have to be a minimum games played threshold).
Icon and header sizes are different between the recent games and achievement columns. Seems like they should be the same
As per Tom's request.
(and maybe better?)
Have env rollout connect to a dev database for npm run starts
Being a nemesis or victim should be reflected as an icon on someone's player card
Tournament winners should earn badges for their win (maybe the tournament creator can choose an image or have it based on an svg icon, e.g. a golden thumbs up for one tournament)
other elements in the page get slightly resized when the user hovers over elements which expand, for example the name on the victim and nemesis cards in profile view. It's jarring, and would be smoother if it didn't occur.
Cards use the window height to set their width. Open the profile for a user and open dev tools on the bottom. That doesn't seem right.
Unsure how this would work just yet, would it just auto-generate a competitive game based on ELO?
After dev test db
While the links within the app work, if you refresh any of the non-home pages, you'll get a 404.
And tournament grand finals as well
Currently when hovering over buttons in the main page they change size and everything moves around on both the X and Y axis. I think it'd look nicer if the buttons expanded in their div instead, preventing the movement of the other surrounding buttons.
If we want it
Follow up #5
A match is entered, and then elo is calculated as usual, and if there are any all-time lows or highs for the players involved, record it in their player record. This saves some JS calculations on the client-side for when a player's profile is loaded by leveraging the information present when entering a game.
Modals currently don't have a close button. Fine for people that are used to them, but confusing if you don't know that you need to click outside of it to close it.
Add the ability to search for a player in the dropdown for entering a game's details
A certain time of the day will be "ELO happy hour" and there'll be a 2x or 3x ELO gain event. Thoughts? Lots of potential to pull big crowds and big matches haha
The spacing is inconsistent in the home page, it should match for better UX.
Assignee: Luke
This is due to the state being a number initially defined as 0, and when you enter 0 as the losing score, the GG button is still disabled.
The text colour seems to be set to dark grey no matter what and it looks weird.
Generate a tournament based on the current ladder. Could be weekly, monthly, etc. Could also add double elimination in future.
CDZ wants this, and so do I tbh.
It prompts to refresh, it should probably redirect to the ladder page insteas
Maybe easier to write than actual tests?
So someone can actually work on this damn thing!
For the "desktop" version (non-mobile), maybe make the ladder page a podium view where the top 3 players are "cards" and the rest are just names and numbers?
Idk yet
E.g. 30% of players have achieved this
Have a button next to "GG" saying "Add another" or something, which would add the game and clear all fields.
So it doesn't use out of date ELO
Credit Swizz
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.