Functioning version of game WITHOUT alpha-beta pruning algorithm