FOSSPicks

NRubik

Rubik's Cube and its multifarious copies and variations are as popular as ever, because it's perhaps one of the best toys invented. Oddly satisfying to move, seemingly accessible to start, and yet challenging to solve. Even when you've mastered the basics of solving the cube, you quickly get obsessed with shortening your time, perhaps starting with five minutes with an aim to get from random to solved in less than 30 seconds. All solutions require good memory, problem solving, dexterity, and perseverance, and this is why perhaps the cube is still so popular. With so many distractions, focusing on solving a cube for a few minutes is a wonderful reset switch, and while the physical cube is always likely to be best, virtual recreations in software present their own challenges as you try to transpose your knowledge onto a two-dimensional (2D) projected image that is much more mentally challenging than the original.

Several good cube applications for the desktop range from 2D to OpenGL-based 3D, which can be the easiest to use, as you drag your mouse across the various layers to mimic the movement of your fingers. The problem is that you usually can't see the reverse sides very quickly. This isn't a problem with NRubik, however, because it runs from the command line, using curses to display a simple planar view of a virtual cube. All the controls are displayed onscreen and allow you to turn each row, as well as mix up the cube. These controls are all you need to create a solution. Although it's difficult even with a memorized set of sequences, the challenge is perfectly in keeping with what makes the challenge of the cube so long lived.

Project Website

https://github.com/cheertarts/nrubik

Don't let the click of turning a real cube stop you from solving this immortal puzzle in the office.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • BorgBackup

    In Star Trek, the Borg adds individuals to its collective consciousness, an apt metaphor for any backup application that stores individual files in an archive. BorgBackup creates folder repositories for multiple archives, making it an especially befitting description of assimilation.

  • BorgBackup

    BorgBackup and the Vorta graphical front end take the stress out of creating backups.

  • Krita Storyboard Docker

    Krita 5 includes an editor that makes it easy to prepare storyboards for any purpose, including unexpected ones.

  • Graphical Backup Tools

    Graphical backup solutions help you protect your data with just a few mouse clicks. We study six popular options.

  • Tiny Travelers

    The CubeSat community gathered in Athens, Greece to explore the possibilities for open hardware and open source software in space.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News