Connect Five (Wu Zi Qi)
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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
connectfive/
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |