1.0

1.0 | 1 rating Rate this file 2 Downloads (last 30 days) File Size: 4.59 KB File ID: #17420
image thumbnail

Rolling Cubes

by Krishna Lalith

 

06 Nov 2007 (Updated 06 Nov 2007)

Flip the cubes upside down.

| Watch this File

File Information
Description

You start with eight cubes around a center hole. Each cube is white on the top and black on the bottom. Roll cubes in the start position but with the white faces on bottom. Click on a cube to roll it. It is possible to win in 36 moves. This game was invented by John Harris in 1975.

MATLAB release MATLAB 7.4 (R2007a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
06 Nov 2007 John D'Errico

This is an example of a disappointment. Its a perfect example of how NOT to write a code, of how NOT to write your help. For example, this what you get when you try:

help Rolling_Cubes

drawing the board
--------------------------------------------------------------------------
--------------------------------------------------------------------------
 --------------------------------------------------------------------------
  About the game

All you get are some dashes. No help at all.

So perhaps you might try executing the function itself. No problem. A few quick lines of help pop up on the screen, for all of about 3 seconds, then the command window is cleared. All gone.

There is no ReadMe fiile. There is no useable help. Nothing that even explains what is rolling. The graphics are of little help, not at all looking like a cube rolling around. How do cubes roll anyway?

More importantly, what is the goal of the game? Maybe it was in those 4 lines of help that pop up and then so slickly disappear before you can ever read them.

Too bad. Its possible that the author knows how to play this game. It might be a great game. But how will anybody else ever know?

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
games Krishna Lalith 22 Oct 2008 09:33:55
rolling Krishna Lalith 22 Oct 2008 09:33:55
flip Krishna Lalith 22 Oct 2008 09:33:55
cubes Krishna Lalith 22 Oct 2008 09:33:55
strategy Krishna Lalith 22 Oct 2008 09:33:55

Contact us at files@mathworks.com