Cohesion Adhesion Balls
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
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.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |