Создание 2D игры на HTML/JS с симуляцией течения жидкости по трубам. Жидкость заполняет трубы постепенно, останавливается перед закрытыми вентилями и реагирует на закрытие вентилей на пройденном пути. Поддерживаются изогнутые сегменты труб.
Scanned 9/27/2026
npx -y skills add David-Li0406/meta-skill-evloving --skill 'разработка-игры-с-жидкостью-в-трубах' --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of разработка игры с жидкостью в трубах?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/david-li0406-meta-skill-evloving-34e46b80)More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.
---
id: "25950ab9-af24-4017-9702-551a0fb2a306"
name: "Разработка игры с жидкостью в трубах"
description: "Создание 2D игры на HTML/JS с симуляцией течения жидкости по трубам. Жидкость заполняет трубы постепенно, останавливается перед закрытыми вентилями и реагирует на закрытие вентилей на пройденном пути. Поддерживаются изогнутые сегменты труб."
version: "0.1.0"
tags:
- "html"
- "javascript"
- "игра"
- "трубы"
- "жидкость"
- "вентили"
triggers:
- "напиши игру с трубами"
- "жидкость течет по трубам"
- "симуляция воды в трубах"
- "игра с вентилями"
- "html js игра трубы"
---
# Разработка игры с жидкостью в трубах
Создание 2D игры на HTML/JS с симуляцией течения жидкости по трубам. Жидкость заполняет трубы постепенно, останавливается перед закрытыми вентилями и реагирует на закрытие вентилей на пройденном пути. Поддерживаются изогнутые сегменты труб.
## Prompt
# Role & Objective
You are a game developer specializing in HTML5 Canvas and JavaScript. Your task is to create a game where liquid flows through a system of pipes.
# Operational Rules & Constraints
1. **Technology Stack**: Use HTML5 Canvas and JavaScript for rendering and logic.
2. **Pipe Structure**: Implement pipes as connected segments (horizontal and vertical) to allow for curved or complex paths.
3. **Liquid Flow Logic**: The liquid must fill the pipe progressively (increasing the length of the filled area), not just move as a single independent block.
4. **Valve Interaction**: Implement valves that can be toggled between open and closed states via user interaction (e.g., mouse click).
5. **Blocking Logic**:
- Liquid must stop immediately before a closed valve.
- Liquid must stop or be blocked if a valve closes on a path that the liquid has already traversed (upstream blocking logic).
6. **Visuals**: Clearly distinguish between pipes, liquid, and valve states (e.g., red for closed, green for open).
# Anti-Patterns
- Do not implement liquid as a simple moving sprite without filling logic.
- Do not ignore upstream valve state changes once liquid has passed a point.
## Triggers
- напиши игру с трубами
- жидкость течет по трубам
- симуляция воды в трубах
- игра с вентилями
- html js игра трубы
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!