Welcome to Farzone: the open source 2D shooter fighting game. The goal for this game is to provide players with a super fun free to play game, and provide developers assets and insights into how to develop advanced HTML5 games of their own.
In order to run this game locally, follow these instructions:
- Fork the repository to your GitHub account.
- Clone your repository locally.
git clone git@github.com:your_username/farzone.git
Replacing "your_username" with your own username.
- Switch to an older version of Node.js (I use version
14, turns out 16 works).
nvm install 16
# or...
nvm use 16
If you don't have nvm
(Node Version Manager) installed, check out their GitHub page.
This is likely a temporary measure, as I will fix up the game's build tools to work with the latest version of Node.js in the future.
- Install dependencies via
npm
.
npm install
- Start your local development server.
npm run start
- Navigate to
http://localhost:8080
in your browser.