taf2/tic-tac-toe

M series assembly for mac os

0

stars

1

commits

Assembly

primary language

Aug 6, 2026

updated

README

Assembly Tic-Tac-Toe

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.

Build and play

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

Contributors

taf2

1 commits

taf2/tic-tac-toe

M series assembly for mac os

0

stars

1

commits

Assembly

primary language

Aug 6, 2026

updated

README

Assembly Tic-Tac-Toe

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.

Build and play

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

Contributors

taf2

1 commits

Languages

Assembly

98.2%

Makefile

1.8%