Cohesion Adhesion Balls

版本 1.0.0.0 (3.2 KB) 作者: Krishna Lalith
Player having the last move wins the game.
1.3K 次下载
更新时间 2007/11/13

无许可证

In each of the cells on a 3×3 board there is a ball of one of four colors. The color of a ball signifies its strength or power. The four colors from the weakest to the strongest are yellow, green, magenta, red. The balls can move vertically or horizontally such that when two of them happen in the same cell then, if they are of the same strength both disappear; otherwise, only the weakest of the two disappears. To make a move a player selects a ball and a direction (by clicking on a adjacent ball). The ball moves in the chosen direction until it reaches the rim of the board or perishes by running into a stronger ball. Balls must interact on each move, i.e., a ball can't move without hitting another ball. The player to make the last move wins.(Idea from gameintellect.com, cut-the-knot.org)

引用格式

Krishna Lalith (2024). Cohesion Adhesion Balls (https://www.mathworks.com/matlabcentral/fileexchange/17498-cohesion-adhesion-balls), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2007a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Strategy & Logic 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0