Home >Backend Development >Golang >Squash Elo Rating System
I am ecstatic to announce my new project, the Squash Elo Rating System. This project is created for the Carleton Squash Club.
When attending the club myself and talking to other players I realized there was a need for a system that could help players see their ranking and/or their progress within the game, while having a conversation with a member we concluded that Chess.com Elo rating system would kind of work for our purposes.
So I made this project to solve that very need based on these principles:
So what exactly did I make here is the question you might be asking after reading this long.
Responsibilities/features:
The bot is made entirely in Golang, this is first because I love using it and also it had a very easy-to-use package, with great documentation which helped me get started in no time.
https://github.com/bwmarrin/discordgo
The original vision for this system was for it to be only a Discord bot where players can view their rankings through Discord. This vision was then disrupted by the conversation I had with the members of my club about how they would use the bot. From the conversation, I could see that there would be a hindrance in players wanting to see their stats/rankings/matchups, because every time they do, it would be public. This led me to the decision to add a website to the system.
Adding a website was essential because I want my club's players to see all data at all times without having to think about server etiquette.
Responsibilities:
Like I said I wanted the website to be simple, and I don't like writing auth logic so the website is made to be read not write.
The website is also written in Golang because it is the Best language to write servers in.
I would like to thank the president of my club, Noah, for letting me give this project to the community and for helping me improve it with his input.
I would also like to thank Adam an exec in our club who helped me realize that I should not base my DB on Discord Usernames as people can change them, he helped me change it to Discord IDs that are usually only seen at the API level.
I learned a lot with this project, and I put a lot into it, as of now I am in the process of getting this hosted while waiting on the bureaucracy of it all. In the meantime, I wanted to share this project with you. You can find it on my GitHub.
https://github.com/AaravSibbal/SquashWebsite
The above is the detailed content of Squash Elo Rating System. For more information, please follow other related articles on the PHP Chinese website!