kjaymiller / kjaymiller/pyjonas

Describe the game state model

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

Description

# Modes 2 ways:
## Computer representation
- xarray

## Human representation

```
class GameState:
board_sate : np.array
next_piece : enum
current_piece : enum
score : int
starting_level : int
level : int
stats : dict(enum, int) # optional?
turn : int
current_fps : int

def calculate_fps(current_level)

def current_possible_moves(board_state, current_piece, current_fps)

def find_turn_changes(current_piece, next_piece)
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Review the proposed computer and human representations in the issue, including the GameState fields and methods. Clarify the intended model and document how the two representations relate; done should be a complete, agreed description of the game state model.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation, game-dev
Issue type
Documentation
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.