Thanks for the feedback, glad you liked it :)
I have no idea what might be causing the error message you got, the code for the game is spaghetti as hell, I didn't have the time to write efficient code; I just wrote something that works :(
But I will try my best to solve it