In this repository you can learn how to implement a flamethrower that damages enemies over time, including applying a burning effect to the enemy
Why do you think that https://github.com/llamacademy/raycasting-explained is a good alternative to flamethrower