Sprint 3 - Control Flow & State - Expanded Project Guides
Generated from:
SPRINT_3_CONTROL_FLOW_STATE_PROJECTS.mdThis folder contains deep-dive guides for each project in the learning path.
Overview
These projects teach the discipline of state management and control flow. You will model explicit states, enforce transitions, handle errors, and build systems that stay consistent under stress. Each project is a state machine in disguise.
Project Index
| # | Project | Difficulty | Time | Key Focus |
|---|---|---|---|---|
| 1 | Modal Text Editor (Mini-Vim) | Intermediate | 1-2 weeks | Mode state, input dispatch, invariants |
| 2 | HTTP/1.1 Protocol Parser | Intermediate | 1-2 weeks | Finite state parsing, error recovery |
| 3 | Database Connection Pool | Advanced | 1-2 weeks | Resource lifecycle, contention, timeouts |
| 4 | Undo/Redo Engine for a Drawing App | Advanced | 1-2 weeks | Command history, branching state |
| 5 | Embedded Sensor State Machine | Advanced | 1-2 weeks | Timing, interrupts, fault states |
Learning Paths
- State machine fundamentals: Projects 1, 2
- Resource lifecycle mastery: Project 3
- Temporal correctness: Project 4
- Real-time constraints: Project 5
Prerequisites
- Solid C fundamentals
- Comfort with the command line
- Basic data structures and debugging tools