Skip to content

Medieval Survival Trading Puzzle Game in TypeScript and Phaser3. Can you save the world from catastrophy?

Notifications You must be signed in to change notification settings

mkraenz/fursorger

Repository files navigation

Fursorger

Play now at prosingularity.github.io/fursorger/.

I am the care taker who
tries to keep the dying world alive
as long as possible
by traveling to cities,
redistributing goods among cities,
and building factories to produce more goods

Big Hairy Audacious Goal Number 1.

A phaser3 survival trading game in TypeScript.

Getting started

Installing

Assumes you have globally installed

  • git
  • node.js
# Clone the git repository
git clone https://github.com/proSingularity/fursorger.git
# install and start dev server
npm run sanity-check
# setup git hooks via husky (prettify and check commit message format on commit)
npm run prepare

Building and Running

Perform a quick build (bundle.js) and start server:

npm run dev

Running with Docker

# Assumes local installation of Docker.
npm run build && docker-compose up

In your browser, navigate to localhost:8080.

Debugging

npm run dev
# STEP: you can close the window that opens automatically
# STEP: Set a breakpoint in VS CODE
# STEP: Start 'Chrome' debug config in VS Code
# STEP: Maybe reload the window
# STEP: Trigger the breakpoint

Check out this cool how-to.

Deployment

Continuous deployment to github pages https://prosingularity.github.io/fursorger/ is performed on each push to master.

At the same time, a new Docker image is published to Fursorger's Docker Hub repository.

Every branch is automatically deployed to fursorger-game.herokuapp.com.

See .travis.yml.

Resources

Phaser

Tools

Assets