All Projects → been-jamming → Rubiks_cube

been-jamming / Rubiks_cube

Licence: mit
rubik's cube that runs in your terminal!

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Rubiks cube

Mitype
Typing speed test in terminal
Stars: ✭ 241 (+230.14%)
Mutual labels:  terminal-based, terminal-app, terminal, curses
Tuicss
Text-based user interface CSS library
Stars: ✭ 167 (+128.77%)
Mutual labels:  terminal, ncurses, curses
Sc Im
sc-im - Spreadsheet Calculator Improvised -- An ncurses spreadsheet program for terminal
Stars: ✭ 3,081 (+4120.55%)
Mutual labels:  terminal-app, terminal, ncurses
Dte
A small, configurable console text editor (moved to https://gitlab.com/craigbarnes/dte)
Stars: ✭ 98 (+34.25%)
Mutual labels:  terminal, ncurses, curses
Vifm
Vifm is a file manager with curses interface, which provides Vim-like environment for managing objects within file systems, extended with some useful ideas from mutt.
Stars: ✭ 1,822 (+2395.89%)
Mutual labels:  terminal-based, ncurses, curses
Spotui
Spotify in the terminal 💻🎶
Stars: ✭ 302 (+313.7%)
Mutual labels:  terminal-based, terminal-app, terminal
Termox
C++17 Terminal User Interface(TUI) Library.
Stars: ✭ 306 (+319.18%)
Mutual labels:  terminal, ncurses, curses
Gui.cs
Console-based user interface toolkit for .NET applications.
Stars: ✭ 5,879 (+7953.42%)
Mutual labels:  terminal, curses
Pdcurses
PDCurses - a curses library for environments that don't fit the termcap/terminfo model.
Stars: ✭ 604 (+727.4%)
Mutual labels:  ncurses, curses
Tvision
A modern port of Turbo Vision 2.0, the classical framework for text-based user interfaces. Now cross-platform and with Unicode support.
Stars: ✭ 612 (+738.36%)
Mutual labels:  terminal, ncurses
Chafa
📺🗿 Terminal graphics for the 21st century.
Stars: ✭ 774 (+960.27%)
Mutual labels:  terminal-based, terminal
Jsonui
jsonui is an interactive JSON explorer on your command line
Stars: ✭ 583 (+698.63%)
Mutual labels:  terminal-based, terminal-app
Picotui
Lightweight, pure-Python Text User Interface (TUI) widget toolkit with minimal dependencies. Dedicated to the Pycopy project.
Stars: ✭ 547 (+649.32%)
Mutual labels:  terminal, curses
Sngrep
Ncurses SIP Messages flow viewer
Stars: ✭ 605 (+728.77%)
Mutual labels:  terminal, ncurses
Rtv
Browse Reddit from your terminal
Stars: ✭ 4,558 (+6143.84%)
Mutual labels:  terminal, curses
Ltui
🍖 A cross-platform terminal ui library based on Lua
Stars: ✭ 624 (+754.79%)
Mutual labels:  terminal, curses
Neoterm
👍 A modern-designed Android terminal emulator for the 21st century.
Stars: ✭ 453 (+520.55%)
Mutual labels:  terminal-app, terminal
Httpu
The terminal-first http client
Stars: ✭ 619 (+747.95%)
Mutual labels:  terminal-based, terminal
Void
terminal-based personal organizer
Stars: ✭ 831 (+1038.36%)
Mutual labels:  terminal-based, terminal
Snoo
A Reddit command line client written in Node.js, using modern ES-features
Stars: ✭ 39 (-46.58%)
Mutual labels:  ncurses, curses

rubiks_cube

A rubik's cube that runs in your terminal!

alt text

Compilation:

Depedencies: ncurses or curses

Use

make

to build on Linux.

On Windows, compilation can be done using a port of curses for Windows such as pdcurses.

To install, use

make install

Which will install the binary to /usr/bin by default and the license to /usr/share/licenses/rubiks_cube/LICENSE.

How to Use:

Start the application in a terminal. Make sure that the terminal is the correct size before starting the application, as you cannot resize the terminal during runtime as of now.

Controls

  • Press Left, Right, Up, Down, z, or Z to orient the cube
    • Left and Right rotate the cube around the y axis.
    • Up and Down rotate the cube around the x axis.
    • z and Z rotate the cube around the z axis.
  • Press f/F, b/B, l/L, r/R, u/U, or d/D to turn a face
    • f is forward, b back, l left, r right, u up, d down. Pressing Shift-face, ie F, B, L, R, U, or D will turn the face clockwise instead of counterclockwise.
  • Press Space to align the cube with the camera's perspective.
  • Press m to access the menu
    • The menu allows you to scramble the cube, save, load, or quit
    • An empty seed to the cube scrambler sets the seed to a random seed.

Feedback is welcome!

Possible upcoming features

  • The ability to use any nxn cube
  • An automatic, efficient solver
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].