refactored the automated players moves into the strategy pattern