These is one of those dumb games you played when you were a kid. I just ended up trying to do whole thing we did by hand now with javascript