remove background color, easier to read at smaller size now
This commit is contained in:
parent
fab5c4ac51
commit
1777683af8
44
NOTES.md
44
NOTES.md
|
@ -1,44 +0,0 @@
|
|||
# NOTES
|
||||
|
||||
# Day 1
|
||||
|
||||
holy smokes
|
||||
|
||||
uses yargs
|
||||
|
||||
* currently writes all ..... to dungeon file, and separately stores player position in gamefile
|
||||
* maybe terrain can be written to dungeon file but items location, monster location, temple locations stored in gamefile
|
||||
* only allow one move a day? (based on date save)
|
||||
* what's the point?
|
||||
* why does someone come back?
|
||||
|
||||
### To play
|
||||
|
||||
create new game file / dungeon
|
||||
|
||||
```
|
||||
node dotd --new
|
||||
```
|
||||
|
||||
move right (for example)
|
||||
|
||||
```
|
||||
node dotd -r
|
||||
```
|
||||
|
||||
## Flags
|
||||
|
||||
```
|
||||
-r
|
||||
-l
|
||||
-u
|
||||
-d
|
||||
```
|
||||
|
||||
right, left, up, down
|
||||
|
||||
```
|
||||
--new
|
||||
```
|
||||
|
||||
creates new board (draws dungeon, places player)
|
|
@ -225,6 +225,7 @@ function updateDungeon(){
|
|||
dungeon[player.position.y][player.position.x] = player.avatar;
|
||||
|
||||
}
|
||||
|
||||
function drawDungeon(){
|
||||
for (let y=0; y < dungeon.length; y++){
|
||||
|
||||
|
|
Loading…
Reference in New Issue