lordmauve / lordmauve/pgzero

Make API more OO

Open
#140 0 comments 0 reactions 0 assignees View on GitHub
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.