Connect Five (Wu Zi Qi)

Version 1.0.0.0 (64.5 KB) by Zhen Qian
This is a simplified version of Connect Five (in Chinese, WuZiQi) game for two players.
1.8K Downloads
Updated 1 Aug 2007

No License

Run wuziqi.m to play the game.

1. Players can choose which color to go first, then click Start button.
2. Click Clear button to clear the current game, and click Start to start over.
3. Click Undo button to undo the goes.
4. Check checkbox 'Hint On' to let computer help find threats such as
Huosan (free-ends three) and Chongsi (one-free-end four).

The game rule can be found in Wikipedia.
http://en.wikipedia.org/wiki/Gomoku (English)
http://zh.wikipedia.org/wiki/%E4%BA%94%E5%AD%90%E6%A3%8B (Chinese)

According to the current home-played Wuziqi rules in China,
I have modified some of the rules:
1. This version allows the free choose of first-to-go color.
2. It doesn't ban Three-and-Three and Four-and-Four.
3. The chess board is bigger than 15x15.

Cite As

Zhen Qian (2024). Connect Five (Wu Zi Qi) (https://www.mathworks.com/matlabcentral/fileexchange/15782-connect-five-wu-zi-qi), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Strategy & Logic in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0