Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve SOK-18 #54

Merged
merged 4 commits into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
CLIENT_PORT=3000
SERVER_PORT=3001
SERVER_HOST='http://localhost'
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=postgres
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ services:
- bridge
volumes:
- .:/usr/src/app
- /usr/src/app/node_modules
# - /usr/src/app/node_modules
working_dir: /usr/src/app
environment:
POSTGRES_PORT: ${POSTGRES_PORT}
Expand Down
4 changes: 2 additions & 2 deletions docs/gameEngine.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ Game - основной класс, здесь запускается игров
| **handleEnemyShooting** | Обработчик стрельбы противника |
| **HandlePlayerHit** | Обработчик проверки остатка жизней игрока |
| **initEffects** | Инициализация эффектов |
| **initializeCampanyEnemies** | Инициализация вражеских танков в компании |
| **initializeCompanyMapObstacle** | Инициализация препятствий в компании |
| **initializeCampanyEnemies** | Инициализация вражеских танков в кампании |
| **initializeCompanyMapObstacle** | Инициализация препятствий в кампании |
| **initializeRandomEnemies** | Инициализация случайно расставленных вражеских танков |
| **initializeRandomObstacle** | Инициализация случайно расставленных препятствий |
| **killEnemy** | Удаляет вражеский танк |
Expand Down
Loading
Loading