Skip to main content

4D TicTacToe

A four-dimensional version of the traditional TicTacToe game, using the pygame library.

Daniel an der Brügge
The game was invented during boring lectures on a sheet of paper at the University of Essen. The graphics is simple and two- dimensional (as it can be drawn on a sheet of paper!), but there exist various hidden diagonals and "hyper-diagonals" on the playing field. To "see" them, imagine that each row of 3x3 (2D) TicTacToe? fields form a cube. Furthermore, the three rows can be put together into a four dimensional "hyper-cube". :-) Enjoy!



Home Page


4D TicTacToe 0.1 — 15 Dec, 2011 account Comments

  • Branden Brown 2011-12-16 19:29:43

    4DT3 is a much more interesting game if you remove the centers of each 3D cube - that is, assuming coordinates in each dimension are one of {0, 1, 2} and follow (hyper-row, hyper-column, row, column), remove (0, 1, 1, 1), (1, 0, 1, 1), (1, 1, 1, 1), (1, 2, 1, 1), and (2, 1, 1, 1). Alternatively, you could make those coordinates count for both players.

    (Yeah, I've played a lot of this on paper.)

  • tolga 2015-03-05 02:22:12

    Try this 4D tic tac toe with python server