Discord Bot for Davis Cube Club
kaoushikmurugan / dccdiscordbot Goto Github PK
View Code? Open in Web Editor NEWDiscord Bot for Davis Cube Club
License: GNU General Public License v3.0
Discord Bot for Davis Cube Club
License: GNU General Public License v3.0
I remember Josh telling me to set the "school" record for blindfolded - I'm currently trailing behind Brandon by about 30 seconds lol. Then it gave me an idea:
I think it would be cool to create a leaderboard system that can show the rankings of Davis students amongst different events (can also be extended to anyone who uses the bot and has a profile in the database).
This is primarily for records set in WCA competitions, but the bot could also hold records for comp sims and other unofficial events we may have.
This would be a fun way for a student to see how they fare against other students - some friendly competition - and also see historical data from previous Davis students in the future (I hope this club continues on after we're gone).
What it could ideally do:
/rankings <event>
- creates an embed of the top 5 Davis students of that event. Optionally, we could maybe have it be a leaderboard for anyone register with our bot, and then filter by Davis students.
On this embed, it would show: event as header, ranking as rows, followed by name, record time, date set for columns
/rankings <user>
- for the current user, show their rankings for each of the events they have participated in
On this embed, it would show: name as header, events as rows, followed by record time, date set for columns.
Ideally: use the latest version of tnoodle
When running the program, you can specify:
then, inside the .zip
file, it generates the following under 3x3x3 Round 1 Scramble Set A.txt
What needs to be solved: how to easily run this using the Discord bot; effectively the bot is a frontend for tnoodle. How can we get our bot to talk to tnoodle, and get the scrambles we need
Other solutions:
Some details needed to set up a comp:
include more as necessary
Off the top of my head, we have a Competitor schema which should include:
Per round in an event:
We can save all this information about a competitor's performance for the event, into their corresponding Profile schema
We could organize a scrambling system during an active comp in the bot, where the bot will display the current scramble to be applied for an active event's round.
Optionally, it could work like CubeTIme - let the bot know which person's cube you're scrambling for, and the bot will know which scramble you should apply on the cube.
This will probably be in another issue, but this could be used in conjunction with the data entry system; when the data entry enters a time, the scrambler system will know to proceed to the next scramble in an active event.
In our club meetings, very often do we have to figure out how we'll arrange the head-to-head team relays - having to ask members how fast they are
With the profile system of this bot, we'll be able to arrange members based on their global average and generate balanced teams for relays
Save results from each competition into a Profile schema
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.