Changed switch to if to make my IDE happy
Merge branch 'master' of github.com:miakilborn/3260Chess