menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

WarriorJS

An exciting game of programming and Artificial Intelligence

Channels
Team

How do I play the intermediate tower?

May 11, 2018 at 9:23pm

How do I play the intermediate tower?

May 11, 2018 at 9:23pm (Edited 4 years ago)
The intermediate tower is still in beta. However, if you already finished the beginner tower and are willing to help testing it, here are the instructions on how to install it:

Requirements

  • NodeJS v8 (v10 is not yet supported)
  • Yarn

Set Up

  1. git clone https://github.com/olistic/warriorjs.git
  2. cd warriorjs
  3. yarn install
  4. yarn build
  5. yarn bootstrap

Enable Tower

  1. yarn global add lerna
  2. lerna add /tower-intermediate --scope=/cli
  3. Edit packages/warriorjs-cli/src/Tower.js:
import beginner from '@warriorjs/tower-beginner';
import intermediate from '@warriorjs/tower-intermediate';
const towers = [beginner, intermediate];
  1. Save
  2. yarn build
  3. yarn bootstrap

Run

Once you've installed the tower, you need to run the game from source to access it. To do that, run node packages/warriorjs-cli/bin/warriorjs.js.

May 16, 2018 at 5:55am