https://github.com/remarkablegames/fortify
🧸 Protect Teddy!
https://github.com/remarkablegames/fortify
arcade game gamejam globalgamejam2019 phaser platformer puzzle remarkablegames teddy web
Last synced: 8 months ago
JSON representation
🧸 Protect Teddy!
- Host: GitHub
- URL: https://github.com/remarkablegames/fortify
- Owner: remarkablegames
- License: mit
- Created: 2019-01-27T14:51:11.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2025-03-07T03:08:51.000Z (about 1 year ago)
- Last Synced: 2025-05-06T10:41:32.215Z (10 months ago)
- Topics: arcade, game, gamejam, globalgamejam2019, phaser, platformer, puzzle, remarkablegames, teddy, web
- Language: JavaScript
- Homepage: https://b.remarkabl.org/fortify
- Size: 1.44 MB
- Stars: 8
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
[Fortify](https://b.remarkabl.org/fortify) is a puzzle game where your objective is to protect teddy :teddy_bear:
This game was made during the [Global Game Jam 2019 (GGJ)](https://globalgamejam.org/news/theme-global-game-jam-2019-%E2%80%A6). The theme of the jam was:
> What home means to you
This project was bootstrapped with [`phaser-template`](https://github.com/remarkablegames/phaser-template) and hosted on [remarkablegames](https://remarkablegames.org/). To learn more, read the following [blog post](https://remarkablegames.org/posts/fortify/).
Play this game on:
- [remarkablegames](https://b.remarkabl.org/fortify)
- [Newgrounds](https://www.newgrounds.com/portal/view/748296)
## Prerequisites
- [Node.js](https://nodejs.org/en/download/)
- [npm](https://www.npmjs.com/get-npm)
## Install
Clone repository:
```sh
git clone https://github.com/remarkablegames/fortify.git
```
Install dependencies:
```sh
npm install
```
## Available Scripts
In the project directory, you can run:
### `npm start`
Runs the game in the development mode.
Open [http://localhost:3000](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](https://github.com/conventional-changelog/standard-version).
### `npm run deploy`
Deploys the game to [GitHub Pages](https://pages.github.com/) 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:
```sh
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:
```sh
rm fortify.zip
```
## Contributors
[](https://github.com/benox3) Â
[](https://github.com/danmakenoise) Â
[](https://github.com/remarkablemark)
## License
[MIT](LICENSE)