-
Couldn't load subscription status.
- Fork 499
Open
Labels
good first issueLooking to contribute? Start here!Looking to contribute? Start here!pkg: cliPertaining to @warriorjs/cliPertaining to @warriorjs/clistatus: claimedIssues that are currently being worked on by someoneIssues that are currently being worked on by someonetype: enhancementA potential improvement to something that already existsA potential improvement to something that already exists
Description
Currently, when entering epic mode the README is frozen in the last level of the tower. When you're trying to fine-tune the score for a level other than the last one, it would be helpful if we had the README for that level available. The proposal is that when entering epic mode, the README is updated with all levels, one following the other.
Example:
# Starbolt - beginner
## Level 1
_You see before yourself a long hallway with stairs at the end. There's nothing in the way._
> **TIP:** Call `warrior.walk()` to walk forward in the Player's `playTurn` method.
### Floor Map
```
╔════════╗
║@ >║
╚════════╝
@ = Starbolt (20 HP)
> = stairs
```
## Level 2
_It's too dark to see anything, but you smell sludge nearby._
> **TIP:** Use `warrior.feel().isEmpty()` to see if there's anything in front of you, and `warrior.attack()` to fight it. Remember, you can only do one action per turn.
### Floor Map
```
╔════════╗
║@ s >║
╚════════╝
@ = Starbolt (20 HP)
s = Sludge (12 HP)
> = stairs
```
## Level 3
...
## Abilities
### Actions (only one per turn)
- `warrior.attack()`: Attack a unit in the given direction (forward by default) dealing 5 HP of damage.
- `warrior.walk()`: Move one space in the given direction (forward by default).
### Senses
- `warrior.feel()`: Return the adjacent space in the given direction (forward by default).
- `warrior.think()`: Think about your options before choosing an action (`console.log` replacement).
## Next Steps
When you're done editing `Player.js`, run the `warriorjs` command again.mrozilla
Metadata
Metadata
Assignees
Labels
good first issueLooking to contribute? Start here!Looking to contribute? Start here!pkg: cliPertaining to @warriorjs/cliPertaining to @warriorjs/clistatus: claimedIssues that are currently being worked on by someoneIssues that are currently being worked on by someonetype: enhancementA potential improvement to something that already existsA potential improvement to something that already exists