mkiisoft / taphero

Tap Hero Game - An Open Source Flutter Game

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Starting a new game doesn't reset internal state

bandtank opened this issue · comments

First and foremost, this game is really cool and it was a bro move to open source the code.

FYI - This is all in the web version.

I clicked the X to stop the game at level 47, which brought me back to the main screen. I clicked again to start a new game and the boss health was at a a value commensurate with level 47 instead of level 1. My attack also was hitting for the damage expected from the Soul Edge weapon. I haven't looked in the code, but I'm guessing this would be a simple variable reset.

Just for completeness, I let the timer expire to lose the game and then started a new game. The same issues as above were noted.