A React-based memory card matching game intentionally filled with various issues for testing and debugging practice.
- Card matching gameplay
- Move counter
- Theme toggle
- Leaderboard (placeholder)
This app contains 84+ intentional issues across multiple categories:
- Direct state mutation
- Memory leaks (intervals not cleared)
- Using index as key in lists
- Creating functions in render
- Missing useEffect cleanup
- Stale closure in hooks
- Direct props mutation
- setState with stale values
- Context provider without proper values
- Duplicate selectors
- Deep nesting
- Using !important everywhere
- Magic numbers
- Overly specific selectors
- Inline styles instead of classes
- Unused CSS classes
- Inconsistent naming conventions
- Global variable pollution
- Using eval (security vulnerability)
- Type coercion with ==
- No error handling
- Memory leaks
- Missing accessibility attributes
- Shallow copy instead of deep copy
- Creating new functions on every render
- Not memoizing expensive computations
- Using index as key
- Inefficient array operations
- Multiple intervals running simultaneously
npm install
npm startThis app is designed for:
- Learning to identify and fix common React issues
- Practice debugging techniques
- Testing code quality tools
- Understanding React best practices
All issues are intentional and should be fixed for production use.