feat(#1): Submarine engine — dive, sonar, torpedoes, pressure, ASCII sonar display #2

Merged
ti-paul merged 1 commit from feature/1-submarine-engine into main 2026-06-14 04:38:28 +00:00
Member

Closes #1

40 tests. Code submarine.

Closes #1 40 tests. Code submarine.
- src/submarine.js: Full code submarine engine
  - 6 depth zones (Surface to The Core)
  - 8 sonar contact types (Bug to Clean)
  - 5 crew roles (Captain to Torpedo Operator)
  - Dive system with pressure, oxygen, hull integrity
  - Sonar sweep for contact detection
  - Torpedo/hotfix system with tech debt reduction
  - Surface to restore oxygen and reset pressure
  - Status warnings (hull, oxygen, pressure, debt)
  - ASCII sonar display rendering
- 40 tests
ti-paul left a comment
No description provided.
40 tests. Submarine engine. LGTM.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
les_clankeurs/code-submarine!2
No description provided.