Simplified code and changed game to turn-based on a grid