Skip to content

meshhi13/Rubiks-Cube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rubik's Cube JavaFX App

A fully interactive 3D Rubik's Cube simulator built with JavaFX.
Rotate, scramble, and reset the cube with smooth animations and a modern UI.

Screen Recording 2025-07-14 at 4 11 37 PM (2)

Requirements

  • Java 11 or higher
  • JavaFX SDK (OpenJFX)

Features

  • 3D Rubik's Cube: Rotate any face in both directions.
  • Scramble: Randomizes the cube with visible, animated moves.
  • Reset: Instantly returns the cube to the solved state.
  • Camera Controls: Zoom in/out and reset the view.
  • Modern UI: Clean, responsive buttons with icons and hover effects.

Project Structure

Rubix/
├── RubiksCubeMain.java
├── RubiksCube3DApp.java
├── RubiksCubeMain.java
├── RubiksSide.java
├── Util/
│   ├── UIUtil.java
│   └── InteractionUtil.java
│   └── ColorUtil.java
│   └── LightingUtil.java

How to Run

  1. Clone the repository:

    git clone https://github.com/meshhi13/Rubiks-Cube.git
    cd Rubiks
  2. Open in your IDE (e.g., VS Code or IntelliJ).

  3. Run the main class (usually RubiksCubeMain.java or similar).

  4. Enjoy!

How to Play

Button/Icon Action
🎲 Scramble the cube
🔄 Reset the cube
Reset camera/view
+ / - Zoom in/out
F, R, U... Rotate faces
F', R', U' Rotate faces (reverse)

Happy cubing!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages