This is commit factors out more of the code in methods and also test whether the compter has won