https://github.com/hugogresse/bataille
A risk like game, in js, revamp for quick bataille and fun
https://github.com/hugogresse/bataille
game game-2d game-development hacktoberfest phaser typescript
Last synced: 18 days ago
JSON representation
A risk like game, in js, revamp for quick bataille and fun
- Host: GitHub
- URL: https://github.com/hugogresse/bataille
- Owner: HugoGresse
- License: agpl-3.0
- Created: 2021-05-13T16:41:30.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-04-30T23:24:49.000Z (about 2 years ago)
- Last Synced: 2025-04-15T19:17:34.725Z (18 days ago)
- Topics: game, game-2d, game-development, hacktoberfest, phaser, typescript
- Language: TypeScript
- Homepage: https://bataille.ovh
- Size: 5.25 MB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bataille
A risk like game, in TypeScript, revamped for quick bataille and fun.
> https://bataille.ovh
### Featuring
- real time unit movements
- turn by turn income (7s)
- up to 6 players (will probably be increased when popularity will grow)
- public in-game discussion
- game time: 10-20min[Video gameplay](https://www.youtube.com/watch?v=dIgEd0i-_YI)

# Developers
Everything is build around Node & TypeScript, using Phaser3 for the game engine on the web (webgl) and socket.io for server-client communication.
## Setup
0. Copy `.env.example` to `.env` and fill:
- `REACT_APP_SOCKET_URL=localhost:3001`
- `SUMOLOGIC_COLLECTOR` can stay blank (used to track number of games played)
1. `npm i`
2. `npm run start`
3. `npm run start-server`
4. Open `localhost:3000`, local dev should work with one player, online require 2 players.