-
Hi,
I am sorry if this is something simple, but I really have tried. I am running the thing from Windows Bash. The install line works fine (with sudo). Running warriorjs however gives following outpu…
-
Right now, the "Welcome to WarriorJS" message has a lot of room for improvement:
![screen shot 2018-05-11 at 18 06 13](https://user-images.githubusercontent.com/5600126/39946831-1e4e313c-5546-11e8-…
-
There seems to be bug when using `feel` at the very first turn. For some reason it thinks there is an enemy where there is none.
# Environment
## System:
- OS: macOS Sierra 10.12.3
- CPU: x6…
-
First of all, thanks for making this. I had a lot of fun with it and I suspect I will have more fun with it when working towards a top score in epic mode.
I see references in the API docs for the […
-
Game seems to be bugged in my environment (Windows 10, newest nodejs just installed). I'm getting the following:
![image](https://user-images.githubusercontent.com/579527/39969441-f942a8c2-56db-11e…
-
![image](https://user-images.githubusercontent.com/787914/40117295-d48f9926-5916-11e8-93ff-23ac7a60035c.png)
## System:
- OS: Windows 7
- CPU: x64 Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz
…
-
# Environment
## System:
- OS: Windows 10
- CPU: x64 Intel(R) Core(TM) i5-6300HQ CPU @ 2.30GHz
- Memory: 4.47 GB / 7.88 GB
## Binaries:
- npm: 5.6.0 - C:\Program Files\nodejs\npm.CMD
# …
-
Units are "hostile" or "friendly", instead of "enemy" or "captive". This gives greater flexibility.
With this change:
* Unit's constructor receives a `hostile` parameter that defaults to `true` …
-
Abilities should be sorted alphabetically under the sections "Actions" and "Senses" of the profile's README.
-
here is my code
class Player {
playTurn(warrior) {
// Cool code goes here
if (warrior.feel().isEnemy()) {
warrior.attack();
} else {
warrior.…