Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/js13kgames/tide-of-the-templars
Tide of the templars - a js13kGames 2023 competition entry by @veronika324 & @albertoac.
https://github.com/js13kgames/tide-of-the-templars
13th-century 2023 competition desktop game html5 javascript js13k js13kgames js13kgames2023 optimization
Last synced: 2 days ago
JSON representation
Tide of the templars - a js13kGames 2023 competition entry by @veronika324 & @albertoac.
- Host: GitHub
- URL: https://github.com/js13kgames/tide-of-the-templars
- Owner: js13kGames
- License: mit
- Archived: true
- Created: 2023-09-13T16:20:50.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-13T07:39:51.000Z (about 1 year ago)
- Last Synced: 2024-09-25T17:44:30.311Z (2 days ago)
- Topics: 13th-century, 2023, competition, desktop, game, html5, javascript, js13k, js13kgames, js13kgames2023, optimization
- Homepage: https://js13kgames.com/2023/games/tide-of-the-templars
- Size: 257 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Tide of the templars
An entry for the 2023 [js13 game competition](https://js13kgames.com) built with [kontra.js](https://straker.github.io/kontra/getting-started)
Embark on a perilous voyage in the 13th-century world of "Tide of the Templars." As a valiant Templar knight returning home after the last crusade, your mission is to steer the ship through treacherous waters. Utilize the W and S keys to navigate the ship, as you strive to keep the vessel afloat and the crew motivated.
Test your skills with precise controls, avoiding rocks. Collect fish to replenish energy and keep your crew ready for the challenges ahead. Can you guide the Templar knight safely home on this treacherous journey? Prepare to embark on an unforgettable seafaring experience in "Tide of the Templars."
## Requirements
The commands assume [Yarn](https://yarnpkg.com/en/docs/install) is installed.
## Commands
### `yarn install`
Installs dependencies.
### `yarn start`
Starts [webpack-dev-server](https://webpack.js.org/configuration/dev-server/) at `http://0.0.0.0:8080`. You should be able to access the server on your mobile device from your home network by going to your computer's IP address (e.g. `http://192.168.0.2:8080`).
### `yarn build`
Builds, minifies, and inlines the game to `./dist/index.html`. This command also runs [webpack-bundle-analyzer](https://github.com/webpack-contrib/webpack-bundle-analyzer), and places the report in `./dist/report.html`. This report may be handy in figuring out which of your source files is putting you over the edge of 13k.
### `yarn party`
Builds, minifies, inlines, and zips the game to `./zipped/game.zip`. This command finishes with a log message letting you know if the zip file is under 13k.