Hi Tech Rubik's Cube Gets SDK
Written by Harry Fairhead   
Sunday, 09 June 2013

Rubik's cube as computer game isn't a new idea, but in this case it is more a Rubik's cube that is a computer. The Rubik's Futuro Cube is a complete ARM-based machine with a form of touch input, wireless links and more. There is also an SDK that you can use to develop games. 

 

futurocubelogo

 

Imagine the sort of hardware you get is, say, a mobile phone packaged into a Rubik's cube complete with an array of 3 x 3 RGB LEDs on each face. It is also has an accelerometer which means it knows which face is up and it can detect a tap on any face - this is its touch input.

You interact with the cube by rotating and tapping it and it interacts with you by changing color, flashing, vibrating and making sounds. The interaction seems to be more subtle than you might imagine because the cube knows how hard you tapped and the sequence of the taps. If this isn't enough, it also has a radio link that allows multiplayer games.

You can see the cube in action in the promo video: 

 

The hardware seems adequate for the job:

Cortex M3, 384kB Flash, 64kB RAM, MEMS3-axis accelerometer, 128MByte FLASH, 4 channel Audio, USB ( for charging and software upload) and 2.4 GHz proprietary radio link.

It comes with a set of games that look fun including Gomoku - the classic five-in-a-row game; Road Running - rotate the cube to keep the runner on the top; Cubris  - a form of Tetris; and so on. Not surprisingly, there isn't a Rubik's Cube game. The closest it gets is Gravity Puzzle. This might be because the user interface needed for the rotations is too difficult to implement by tapping the sides or it might be for legal reasons. There is a partial Rubik's cube in the sample programs. 

If you would like to make an attempt at extending the range of games or entertainments - remember this is a light show that can also play music - then the SDK is for you. This seems fairly easy to download and setup, but notice that you have to learn Pawn - a C-based language. Don't panic, however, it really is just C with some additional library functions to work with the hardware. For example:

#include <futurocube>
main()
{
 SetColor(cORANGE)
 DrawSquare(GetCursor())
 PrintCanvas()
 printf("hello world\r\n")
}

If you can program in almost any language Pawn shouldn't be a problem, but you will have to learn about how to reference individual LEDs and how to work with the accelerometers. 

futurocube1

The good news is that the device isn't incredibly expensive. It's available to buy direct from Futuro Cube for 88.60 euros in Europe and for $99.99 from ThinkGeek in the US.

  

More Information

Futuro Cube

www.thinkgeek.com

 

Related Articles

Blink(1) - A USB Status Light

Wearable Tech To Help Control Stress

Sifteo - a return to physical games

Program your wrist watch

 

To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, FacebookGoogle+ or Linkedin,  or sign up for our weekly newsletter.

 

raspberry pi books

 

Comments




or email your comment to: comments@i-programmer.info

 

Banner


Master Large Language Model Ops
20/03/2024

New technology brings with it more career opportunities. You may never have imagined becoming an LLMOps consultant,  but there's now a Coursera Specialization which provides preparation for this  [ ... ]



Running PostgreSQL Inside Your Browser With PGLite
18/03/2024

Thanks to WebAssembly we can now enjoy PostgreSQL inside the browser so that we can build reactive, realtime, local-first apps directly on Postgres. PGLite is about to make this even easier.


More News

 

Last Updated ( Sunday, 09 June 2013 )