Make API more OO
Open
- Dominant language
- Python
- Stars
- 611
- Forks
- 211
- PR merge metrics
- No merged PRs in 30d
Description
It would be great to be able to use pgzero in a more object-oriented way. Therefore it would be nice to be able to bind update, draw, on_mouse_* functions to methods of classes. Maybe decorators are a way to accomplish that.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing pgzero's existing update, draw, and on_mouse_* API and how callbacks are currently registered. The issue does not name files or tests and leaves the decorator-versus-other-API design open, so the intended object-oriented interface and its completion criteria need to be clarified first.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- game-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100