Cohesion Adhesion Balls

Player having the last move wins the game.
1.3K Downloads
Updated 13 Nov 2007

No License

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)

Cite As

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

MATLAB Release Compatibility
Created with R2007a
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