osuAkatsuki / bancho.py

An osu! server for the generic public, optimized for maintainability in modern python
https://akatsuki.gg
MIT License
201 stars 125 forks source link

Simplify the `Player` object/class #610

Closed cmyui closed 4 months ago

cmyui commented 4 months ago

Describe your changes

The complexity in some of the objects (especially things such as constructors) has been a problem on my mind for a while. Starting with the Player class here, and I'll move onto others shortly. Ideally this refactoring effort should make these APIs more understandable, reusable and testable.

Related Issues / Projects

Checklist