HugoGresse / bataille

A risk like game, in js, revamp for quick bataille and fun
https://bataille.ovh
GNU Affero General Public License v3.0
4 stars 1 forks source link
game game-2d game-development hacktoberfest phaser typescript

Bataille

A risk like game, in TypeScript, revamped for quick bataille and fun.

https://bataille.ovh

Featuring

Video gameplay

Game screenshots

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

  1. 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)
  2. npm i
  3. npm run start
  4. npm run start-server
  5. Open localhost:3000, local dev should work with one player, online require 2 players.