Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 3 months 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 (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-30T23:24:49.000Z (over 1 year ago)
- Last Synced: 2024-10-05T09:45:51.919Z (3 months ago)
- Topics: game, game-2d, game-development, hacktoberfest, phaser, typescript
- Language: TypeScript
- Homepage: https://bataille.ovh
- Size: 5.25 MB
- Stars: 4
- Watchers: 3
- 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)
![Game screenshots](https://user-images.githubusercontent.com/662377/130512746-80ee7ef5-6b89-4222-948d-e14904b078f5.png)
# 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.