3-D Tic-Tac-Toe is the game of tic-tac-toe in a 4x4x4 cube. You must get 4 markers in a row or diagonal along any 3-dimensional plane in order to win.
The game is published as type-in source code in Basic Computer Games (Microcomputer Edition), ed. David H. Ahl with Steve North, Workman Publishing, New York, 1978 (ISBN 0-89480-052-3).
The BASIC source code listing is published in Microsoft BASIC 3.0; suggestions for conversion to a wide range of other BASIC implementations are provided.