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
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
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.
News
-
Canonical Releases Ubuntu 24.04
After a brief pause because of the XZ vulnerability, Ubuntu 24.04 is now available for install.
-
Linux Servers Targeted by Akira Ransomware
A group of bad actors who have already extorted $42 million have their sights set on the Linux platform.
-
TUXEDO Computers Unveils Linux Laptop Featuring AMD Ryzen CPU
This latest release is the first laptop to include the new CPU from Ryzen and Linux preinstalled.
-
XZ Gets the All-Clear
The back door xz vulnerability has been officially reverted for Fedora 40 and versions 38 and 39 were never affected.
-
Canonical Collaborates with Qualcomm on New Venture
This new joint effort is geared toward bringing Ubuntu and Ubuntu Core to Qualcomm-powered devices.
-
Kodi 21.0 Open-Source Entertainment Hub Released
After a year of development, the award-winning Kodi cross-platform, media center software is now available with many new additions and improvements.
-
Linux Usage Increases in Two Key Areas
If market share is your thing, you'll be happy to know that Linux is on the rise in two areas that, if they keep climbing, could have serious meaning for Linux's future.
-
Vulnerability Discovered in xz Libraries
An urgent alert for Fedora 40 has been posted and users should pay attention.
-
Canonical Bumps LTS Support to 12 years
If you're worried that your Ubuntu LTS release won't be supported long enough to last, Canonical has a surprise for you in the form of 12 years of security coverage.
-
Fedora 40 Beta Released Soon
With the official release of Fedora 40 coming in April, it's almost time to download the beta and see what's new.