Skip to content

leoyang429/Gomoku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Five in A Row

This project provides a UI for five-in-a-row games.

Players can either play against each other or challenge a built-in AI. Matches can be saved and replayed later.

Installation

This project works on MacOS.

Install Xcode and openframeworks. Download this project in Zip, open the Project Generator, and import "fantastic-finale" folder. Then you can open the project in Xcode. Run the fantastic-finale Release scheme in Xcode and you could see the UI as follows.

alt text

Usage

The game is at play mode upon entering - that is, two human players play agianst each other. Click on the intersects to make a move.

Click the buttons to switch between modes.

Functions of Buttons:

  • Restart - reset the board, and quit AI mode
  • Undo - undo the last move
  • Save - save the current match by specifying a name for this match
  • Replay - search a saved game by its date and name, and then enter replay mode for this game
  • AI - play against AI, can choose play first or not
  • Exit - exit the game
  • Show Matches - list all the dates and names of recorded matches

For replay mode, click anywhere on the board to see the next move. You may also press space for the next move and backspace for previous move in replay mode.

About

UIUC CS 126 Final Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors