/**
 * Copyright (C) 2022 by Martin Robillard. See https://codesample.info/about.html
 */
package e2.chapter5;

/*
 * Sample class under test.
 */
public class GameModel implements GameModelView {
	
	private static GameModel INSTANCE = new GameModel();
	
	private PlayingStrategy aPlayingStrategy;
	
	public static GameModel instance() {
		return INSTANCE;
	}
	
	public void tryToAutoPlay() {
		aPlayingStrategy.computeNextMove(this);
	}
}