Logical Fallacies

Until this point, I don't really know how the game worked. My code would
work most of the time, but the logical foundation it used to change the
board was flawed. Sometimes it would randomly fail and I didn't know
why. I realized the code I had written didn't make a whole lot of sense,
so I rewrote the moving functions. Now the game should be much less
buggy and a lot easier to understand!