Skip to content

remarkablegames/fortify

Repository files navigation

Teddy
Fortify

Fortify is a puzzle game where your objective is to protect teddy 🧸

This game was made during the Global Game Jam 2019 (GGJ). The theme of the jam was:

What home means to you

This project was bootstrapped with phaser-template and hosted on remarkablegames. To learn more, read the following blog post.

Play this game on:

Prerequisites

Install

Clone repository:

git clone https://github.com/remarkablegames/fortify.git

Install dependencies:

npm install

Available Scripts

In the project directory, you can run:

npm start

Runs the game in the development mode.

Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.

You will also see any lint errors in the console.

npm run build

Builds the game for production to the build folder.

It correctly bundles in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.

Your game is ready to be deployed!

npm run release

Bumps the package.json using standard-version.

npm run deploy

Deploys the game to GitHub Pages by force pushing the build folder to the remote repository's gh-pages branch.

Uploading the Game

If you're uploading the game to a site, make sure to do the following:

  1. Open package.json and change the "homepage" value to ".". This ensures the links are relative. Optional: update the game config url in src/index.js.

  2. Optional: remove GitHub Corners from public/index.html and src/index.css.

  3. Build the game, remove any unnecessary files, and compress the folder into a zip archive:

    npm run clean
    npm run build
    rm build/service-worker.js
    zip -r fortify.zip build
  4. Don't forget to clean up the project directory after the upload succeeds:

    rm fortify.zip

Contributors

Ben Budnevich   Dan Phillips   remarkablemark

License

MIT