K-Mistele / seeker-of-the-sword

ascii-character adventure code written into console via python
Other
5 stars 0 forks source link

Lots of bugs now in mob-generation branch #25

Closed K-Mistele closed 6 years ago

K-Mistele commented 6 years ago

@Michael-N @amistele Help needed squishing bugs in the mob-generation branch. Please help! Switch to the branch, try moving into and attacking mobs. Strange bugs.

K-Mistele commented 6 years ago

Currently Observed Phenomenon: (most happen when lots of mobs are in close proximity to player)

K-Mistele commented 6 years ago

@Michael-N I'm kind of at a loss where to go. Should we roll the branch back a commit?

Michael-Naguib commented 6 years ago

1st Bullet point:

2nd Bullet point

3rd Bullet point:

Traceback (most recent call last):
File "adventure.py", line 270, in <module> player_move(player_input)
File "adventure.py", line 205, in player_move
print("You attacked a {}!".format(detect_attack_on_mob("y", 1)[1]))
IndexError: list index out of range

4th Bullet point

Michael-Naguib commented 6 years ago

TL;DR; the errors are in adventure.py .... not so much the mob classes

Michael-Naguib commented 6 years ago

@K-Mistele

K-Mistele commented 6 years ago

Player attacking mobs now works. I'm wondering if half of these problems would be partially fixed by re-drawing the board after player moves and mob moves..... I'll keep working on that.