xdwightsbeetsx / tournament-bracket Goto Github PK
View Code? Open in Web Editor NEWMakes brackets for tournaments!
License: MIT License
Makes brackets for tournaments!
License: MIT License
make the current github link into an icon
Hi, First of all I want to say that this is very well done piece of code. But I need tips of how to make it fit my needs.
Lets say that the Data comes from the DB. Meaning that instead of
let prettyEntries = this.deepcopy(entries)
I have
let prettyEntries = this.deepcopy(DBARRAY)
Assuming that the DB has column "Round". If the ROUND would change from 1 -> 2. How would you display it in the table? Obviously it would need to proceed from 2 -> 3 and so on (to the final).
The data is predefined meaning that the info going TO the DB is correct. Example
if there is 16 drivers in round 1 then round 2 has 8 drivers, round 3 has 4 drivers etc.
How to make it reflect in the brackets?
I am currently trying to change your solution to dynamic data but my limited knowledge of JS is stepping in my way :D
'BYE's are given in priority of input, with the first entry essentially having the first seed and so forth.
This 'seeding' is not visible or apparent, and happens automatically when the bracket is made.
Make the seeding (optionally?) visible and allow the user to change seeding.
I have two ideas on how to do this:
nothing is displayed in the right pane
show some useful information such as:
Entries are entered one-by-one in the add entry bar
Ability in left pane to "load entries from file"
I think one or both file types should be accepted:
.txt
.xlsx
An entry can be advanced ahead of the state of the bracket
Prevent advancing ahead of the state of the bracket by:
FilledBracketEntries
column to make sure all entries are not "TBD" / "BYE"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.