New version of validate function
Merge branch 'master' of https://github.com/picoriley/Halma-Game-UI