Validation

i write a validation in your implements cui.
but i think better validation point is player or game class.