menu

WarriorJS

An exciting game of programming and Artificial Intelligence

Channels
# All channels
view-forward
# General
view-forward
# Help
view-forward
# Ideas
view-forward
# Show and tell
view-forward
# Tips & tricks
view-forward
# Tutorials
view-forward
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 2 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