jadijadi / riverraidrust

A text based river raid clone in Rust; streamed
GNU General Public License v3.0
94 stars 28 forks source link

added AlternativeScreen , removing bullet after it hits enemy or fuel #63

Closed 6arare closed 7 months ago

6arare commented 7 months ago

executing the game in the AlternativeScreen so the state of the terminal remains unchanged after quitting the game also removing the bullet from bullet index using pop() bcz using remove(index) will cause in panic

panoschagias commented 7 months ago

bullets are not supposed to be removed after hitting an enemy. that's why their symbol was changed, to indicate their power.

6arare commented 7 months ago

ahh ok didnt know that