Clean up markdown nesting. (#252)

Co-authored-by: TC <>
This commit is contained in:
titocr
2025-06-19 14:54:47 -07:00
committed by GitHub
parent 651c0d2a9e
commit 3267144248
18 changed files with 86 additions and 108 deletions

View File

@@ -22,7 +22,7 @@ This document establishes coding standards, architectural patterns, and developm
"exactOptionalPropertyTypes": true
}
}
```text
```
### Type Definitions
@@ -50,7 +50,7 @@ interface GameSystem {
update(delta: number): void;
shutdown(): void;
}
```text
```
**Scene Data Interfaces:**
```typescript
@@ -73,7 +73,7 @@ interface GameSettings {
difficulty: 'easy' | 'normal' | 'hard';
controls: ControlScheme;
}
```text
```
### Naming Conventions
@@ -152,7 +152,7 @@ this.scene.start('NextScene', {
// Scene overlays for UI
this.scene.launch('PauseMenuScene');
this.scene.pause();
```text
```
### Game Object Patterns
@@ -199,7 +199,7 @@ class Player extends GameEntity {
this.health = this.addComponent(new HealthComponent(this, 100));
}
}
```text
```
### System Management
@@ -235,7 +235,7 @@ class GameManager {
GameManager.instance = null!;
}
}
```text
```
## Performance Optimization
@@ -308,7 +308,7 @@ class PerformanceMonitor {
// Reduce particle counts, disable effects, etc.
}
}
```text
```
**Update Loop Optimization:**
```typescript
@@ -331,7 +331,7 @@ class GameScene extends Phaser.Scene {
}
}
}
```text
```
## Input Handling
@@ -385,7 +385,7 @@ class InputManager {
return { ...this.inputState };
}
}
```text
```
## Error Handling
@@ -455,7 +455,7 @@ class GameSystem {
}
}
}
```text
```
## Testing Standards
@@ -489,7 +489,7 @@ describe('HealthComponent', () => {
expect(healthComponent.isAlive()).toBe(false);
});
});
```text
```
### Integration Testing
@@ -512,7 +512,7 @@ describe('GameScene Integration', () => {
expect(scene.inputManager).toBeDefined();
});
});
```text
```
## File Organization

View File

@@ -80,7 +80,7 @@ This architecture is designed to support the gameplay mechanics defined in the G
│ ├── stories/ # Development stories
│ └── architecture/ # Technical docs
└── dist/ # Built game files
```text
```
### Module Organization
@@ -365,7 +365,7 @@ const gameConfig: Phaser.Types.Core.GameConfig = {
},
// Additional configuration...
};
```text
```
### Game Balance Configuration

View File

@@ -116,7 +116,7 @@ Difficulty
|/ /
+-----------> Level Number
Tutorial Early Mid Late
```text
```
**Scaling Parameters:**
- Enemy count: {{start_count}} → {{end_count}}