asaf-kali / asaf-kali/codenames-solvers

Make all objects stateless.

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Specifically:
1. Instead of `player.team_color`, pass `team_color` in state each turn.
2. `GameManager` should represent just a single game (no init game, reset state, etc).

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the player objects and GameManager, especially the player.team_color access and any initialization or reset-state paths. Determine how turn state is passed today; done means team_color is supplied in each turn's state and GameManager represents only one game without game initialization or reset responsibilities.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.