Done!

It is fully functional! It should never lose now. Next I will make the
board render itself nicely