A native, mouse-driven macOS Tic-Tac-Toe game for Apple silicon. The window,
drawing, input handling, state management, win detection, and reset behavior
are all implemented in AArch64 assembly in tic_tac_toe.s.
The game calls Apple's AppKit and Objective-C runtime directly. It contains no C, Objective-C, Swift, SDL, or game-engine code.
You need the Xcode command-line tools (or Xcode itself). Then run:
make run
Click an empty square to place a mark. X moves first. The window title shows
whose turn it is and the result. A win draws a green line through the winning
row, column, or diagonal; a draw displays a large centered DRAW message.
After either result, click anywhere in the window to start another game.
To build without launching:
make
This creates AssemblyTicTacToe.app. To remove that generated bundle:
make clean
1 commits
Assembly
98.2%
Makefile
1.8%
A native, mouse-driven macOS Tic-Tac-Toe game for Apple silicon. The window,
drawing, input handling, state management, win detection, and reset behavior
are all implemented in AArch64 assembly in tic_tac_toe.s.
The game calls Apple's AppKit and Objective-C runtime directly. It contains no C, Objective-C, Swift, SDL, or game-engine code.
You need the Xcode command-line tools (or Xcode itself). Then run:
make run
Click an empty square to place a mark. X moves first. The window title shows
whose turn it is and the result. A win draws a green line through the winning
row, column, or diagonal; a draw displays a large centered DRAW message.
After either result, click anywhere in the window to start another game.
To build without launching:
make
This creates AssemblyTicTacToe.app. To remove that generated bundle:
make clean
1 commits
Assembly
98.2%
Makefile
1.8%