A Java implementation of tic-tac-toe game rules.