2DGD-F0TH / 2DGD-F0TH/2DGD_F0TH

Tracking Issue: Missing Code Listings

Open Beginner friendly
#72 1 comment 0 reactions 0 assignees View on GitHub
Content help wanted Priority 2
Dominant language
Rust
Stars
460
Forks
18
Avg merge
1d 13h
Merged PRs (30d)
2

Description

Here's a (not exhaustive) list of missing code listings in the book, some may refer to sections of the book that haven't been built yet:

- [x] Inheritance Example
- [x] Composition Example
- [x] 20% probability Example
- [x] 13% probability Example
- [x] Tiered Prize pool using probability
- [x] Tiered Prize pool with luck stat
- [ ] Quad Trees
- [ ] AABB Trees
- [x] Shallow Axis collision reaction
- [x] Tile and offset
- [x] Collision reaction between two moving objects
- [ ] Separating Axis Theorem (Maybe?)
- [ ] Scene trees
- [ ] Static Camera
- [ ] Grid Camera
- [ ] Horizontal-tracking camera
- [ ] Full Tracking Camera
- [ ] Camera Trap
- [ ] Look Ahead Camera
- [ ] Camera Position Clamping
- [ ] Simple GLSL Pixel Shaders
- [ ] Dependency Injection Pattern
- [ ] Decorator Pattern
- [ ] Visitor Pattern
- [ ] Object Adapter Pattern
- [ ] Class Adapter Pattern
- [ ] Prototype Pattern
- [x] Facade Pattern
- [ ] Service Locator Pattern
- [x] Proxy Pattern
- [ ] Resource Manager
- [ ] Animator
- [x] Finite State Machine Structure
- [x] Finite State Machine Example usage
- [ ] Menu Stack
- [ ] Chaining
- [ ] Adjacency Lists
- [ ] Adjacency Matrices
- [ ] Decision Tree
- [ ] Behaviour Tree
- [ ] Diamond-Square Algorithm
- [ ] Randomized Kruskal Maze Generation
- [ ] Recursive Division Maze Generation
- [ ] Binary Tree Maze Generation
- [ ] Eller's Algorithm for Maze Generation
- [ ] Dungeon Generation (Maze Generation + Rooms)
- [ ] Perlin-like noise (May be removed)
- [x] Parallax Scrolling
- [ ] Loading Screens
- [x] Corner Correction
- [ ] Ladders
- [ ] Walking on slanted ground
- [ ] Stairs
- [ ] Ledge Grabbing
- [ ] Wall Jumps
- [ ] Screen Wrap
- [ ] Managing Height in Top-Down RPGs
- [ ] Synchronizing with Music in Rhythm Games (maybe)
- [ ] Fast Fourier Transform (maybe)
- [ ] Beat Detection (maybe)
- [x] Replacing the removed tiles and preparing for tweening in Match-x games
- [x] Creating new tiles and preparing for tweening in Match-x games
- [ ] Scripted Cutscenes (maybe)
- [ ] Adding video cutscenes (maybe)
- [x] Memoization
- [ ] Detached Update/Draw loop
- [ ] Dirty Rectangle (maybe)

Contributor guide

Open the contributing guide

Research direction

The issue is a tracking list for missing code examples in a game development book. Start by checking the repository structure to find where code listings are stored, likely in a `code/` or `examples/` directory. Pick an unchecked item like 'Quad Trees' or 'Dependency Injection Pattern', locate the corresponding book section to understand the context, and write the example in the appropriate language (Rust, Python, C++, or JavaScript as per the repo topics). Verify the example compiles and matches the book's explanation.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
70/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.