CASE STUDYGAME LOGIC
Tic-Tac-Toe
Nine squares, different decisions.
Project · Individual development · Android game
JavaAndroidXML
Overview
Play against a configurable opponent on an Android board.
Tic-Tac-Toe with player name, X/O selection, difficulty and restart. Easy mode chooses random moves; hard mode uses Minimax with a configurable probability of choosing a suboptimal move.
Problem
Connect a simple interface with turns, legal moves and win, loss or draw detection.
My role
I developed the Android application, player setup, board flow and opponent logic.
Outcomes
Players can choose a symbol and difficulty, start with a random first player, and complete or restart games against the computer. The interface shows the result and prevents play on a completed board. Hard mode allows suboptimal moves according to its configuration.


