Skip to content

Instantly share code, notes, and snippets.

View Sample 1 (mutable Placement).java
// Game
public class Game {
private final Grid grid;
private final PlacementError placementError;
private Mark playingMark;
public Game(PlacementError placementError) {
grid = new Grid();
playingMark = Mark.x();