Portable Goban

A digital version of the ancient game of GO

By Aidan Murphy

Overview

My goal is to implement a user interface and display for the Classic board game Go. Players will take turns using a wii nunchuk to traverse the playing grid and place stones. Once both players decide to pass their turn the game will end. The board will be represented by an 8x8 multicolor LED matrix . Each turn a display on the terminal will keep track of the active player and each player’s respective score estimates.

Peripheral Components

Digital Discovery Board

Used to control the peripheral components

Wii Nunchuk

Used for Player move input

LED Matrix

Used to display game board

Software Design

Game logic will be performed in C while all communication between devices will be done with UART and I2C protocols. The game will be stored as a 2D array into which values are placed when a player moves, a recursive algorithm is then run on each adjacent stone to determine if it is captured. The Nunchuk will operate via interrupts using I2C for joystick presses which will change the index of the pointer. The z and c buttons will be used to select a move or a pass turn order.


Block Diagram