Home / Board / #021

Noughts Grid

Noughts and crosses where the keypad is the board - plus a 5x5 four-in-a-row variant.

Board Emulator verified v1.0.0 18.1 KB

The JAR and JAD are the Original Java ME Version for phones and emulators. How to install.

About

On the classic board, keys 1-9 map one-to-one onto the squares, so playing feels like pressing the grid itself. The Perfect CPU uses full minimax and never loses; Easy makes human mistakes. The 5x5 board needs four in a row and has a heuristic CPU, and both boards support two players on one phone.

Objective: Get three (or four on 5x5) of your marks in a row.

Modes: 3x3 vs CPU Easy, 3x3 vs CPU Perfect, 3x3 2 Players, 5x5 vs CPU, 5x5 2 Players

board game tic-tac-toe versus cpu two player

Noughts Grid title screen
Title screen
Noughts Grid gameplay
Gameplay
Noughts Grid running in MicroEmulator
In MicroEmulator 2.0.4

Screenshots captured from the real JAR at 176x208 on the project's reference runtime; the third image is rendered by MicroEmulator 2.0.4.

Controls

KeyAction
1-9Play that square (3x3)
2/4/6/8Move cursor
5Play at cursor
*Pause menu

In every game: 5 selects in menus, * pauses, and on the title screen # opens help and 0 toggles sound. The joystick and 2/4/6/8 are interchangeable.

Verification

LevelStatusDetails
Build verifiedYesCompiled against CLDC 1.0 / MIDP 2.0; JAR + JAD generated
Reference runtimeYesPassed at 128x128, 128x160, 176x208, 176x220, 240x320
Emulator verifiedYesAutomated smoke test on MicroEmulator 2.0.4 (176x220)
Real device verifiedNoNot yet tested on real hardware

Tried it on a real phone? Send a device report.

Technical details

MIDletnoughtsgrid.NoughtsGridMIDlet
PlatformJava ME, CLDC 1.0, MIDP 2.0
JAR size18.1 KB
Screens128x128, 128x160, 176x208, 176x220, 240x320
StorageRMS record store gk (settings, best score)