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:
Clone repository:
git clone https://github.com/remarkablegames/fortify.git
Install dependencies:
npm install
In the project directory, you can run:
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.
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!
Bumps the package.json
using standard-version.
Deploys the game to GitHub Pages by force pushing the build
folder to the remote repository's gh-pages
branch.
If you're uploading the game to a site, make sure to do the following:
-
Open
package.json
and change the"homepage"
value to"."
. This ensures the links are relative. Optional: update the game config url insrc/index.js
. -
Optional: remove GitHub Corners from
public/index.html
andsrc/index.css
. -
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
-
Don't forget to clean up the project directory after the upload succeeds:
rm fortify.zip