tic-tac-toe Java console application with variable board size, scalable win-checking algorithm, and JUnit testing.