Skip to content
This repository has been archived by the owner on Feb 17, 2023. It is now read-only.

A game that I created as part of the RNDGAME JAM II game jam. The game was created using Phaser 3 and TypeScript.

License

Notifications You must be signed in to change notification settings

scottwestover/indivisible-slayer

Repository files navigation

Indivisible Slayer (RNDGAME JAM II Submission)

License

Play the game on Itch.io here: Indivisible Slayer

This is a game that I created as part of the RNDGAME JAM II game jam. The game was created using Phaser 3 and TypeScript.

Gameplay Screenshot Gameplay Screenshot 2

The game is a simple puzzle game were your goal is to get the highest score possible by slaying the indivisible numbers. As you complete more and more rounds the game becomes harder by having the numbers rotate around, and you will lose points by slaying a divisible number.

The following assets were used in the creation of this game:

Running The Project Locally

Requirements

Node.js and Yarn are required to install dependencies and run scripts via yarn.

Parcel is required to bundle and serve the web application. You can install Parcel by running the following command: yarn global add parcel-bundler.

Available Commands

Command Description
yarn install --frozen-lockfile Install project dependencies
yarn start Build project and open web server running project
yarn build Builds code bundle for production

Writing Code

After cloning the repo, run yarn install --frozen-lockfile from your project directory. Then, you can start the local development server by running yarn start.

After starting the development server with yarn start, you can edit any files in the src folder and parcel will automatically recompile and reload your server (available at http://localhost:8080 by default).

Deploying Code

After you run the yarn build command, your code will be built into a single bundle located at dist/bundle.min.js along with any other assets you project depended.

If you put the contents of the dist folder in a publicly-accessible location (say something like http://myserver.com), you should be able to open http://myserver.com/index.html and play your game.

Linting

This project uses typescript-eslint for linting, and it has been setup to extend the airbnb style guide. To modify these settings, you will need to update the .eslintrc.js file with your plugins, rules, etc.

Static Assets

Any static assets like images or audio files should be placed in the public folder. It'll then be served at http://localhost:8080/path-to-file-your-file/file-name.file-type.

About

A game that I created as part of the RNDGAME JAM II game jam. The game was created using Phaser 3 and TypeScript.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published