Io.horizon.tictactoe.aix
In many amateur projects, game logic is often tightly coupled with the UI. You might see the AI logic sitting inside an OnClickListener or an Activity class.
The io.horizon.tictactoe.aix package takes a different, more professional approach: Separation of Concerns. io.horizon.tictactoe.aix
The aix likely stands for AI Extension (or Interface). By isolating the logic into its own package, we achieve two things: In many amateur projects, game logic is often
A developer named Horizon (or a team) publishing reusable game logic for App Inventor users. The extension talks back to your UI via
The extension talks back to your UI via simple events:
You don't manage a 3x3 array. You just call InitializeBoard.
unzip io.horizon.tictactoe.aix -d extension_source/
cd extension_source/
jar xf classes.jar
javap -c io.horizon.tictactoe.TicTacToe # decompile bytecode