https://tvnzvqckmyuii.blogspot.com/2021/07/c-game-programming-code-heres.html