Skip to content

ezent25/cube-solver-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧩 Cube Solver Website

A modern, interactive web application that solves various types of Rubik's cubes using advanced algorithms.

Features

  • Multiple Cube Types: Supports 2x2, 3x3, and 4x4 cubes
  • Interactive Interface: Clean, modern UI with responsive design
  • Algorithm Implementation:
    • 2x2: Ortega method
    • 3x3: Layer-by-Layer method
    • 4x4: Reduction method
  • Real-time Solving: Instant solution generation with move count and timing
  • Scramble Generation: Random scramble generation for practice
  • Visual Feedback: Cube state visualization

Technologies Used

  • HTML5: Semantic markup and structure
  • CSS3: Modern styling with CSS Grid, Flexbox, and custom properties
  • JavaScript (ES6+): Object-oriented programming with classes
  • Responsive Design: Mobile-first approach

How to Use

  1. Select your cube type (2x2, 3x3, or 4x4)
  2. Click "Generate Scramble" to create a random cube state
  3. Click "Solve Cube" to get the solution
  4. Follow the move sequence to solve your physical cube

Move Notation

The solver uses standard Singmaster notation:

  • R: Right face clockwise
  • R': Right face counter-clockwise
  • U: Up face clockwise
  • U': Up face counter-clockwise
  • F: Front face clockwise
  • F': Front face counter-clockwise
  • L: Left face clockwise
  • L': Left face counter-clockwise
  • D: Down face clockwise
  • D': Down face counter-clockwise
  • B: Back face clockwise
  • B': Back face counter-clockwise

Algorithms

2x2 Cube (Pocket Cube)

  • Uses simplified Ortega method
  • Average solution: 10-15 moves
  • Focuses on layer-by-layer solving

3x3 Cube (Classic Rubik's)

  • Implements beginner's Layer-by-Layer method
  • Cross → F2L → OLL → PLL sequence
  • Optimized for understanding rather than speed

4x4 Cube (Revenge Cube)

  • Reduction method implementation
  • Center solving → Edge pairing → 3x3 stage
  • Advanced algorithm for complex cube state

Installation

  1. Clone this repository: �ash git clone https://github.com/your-username/cube-solver-website.git

  2. Open index.html in your web browser

  3. Start solving cubes!

Live Demo

Visit the live demo: Cube Solver Website

Contributing

Contributions are welcome! Please feel free to submit a Pull Request. Areas for improvement:

  • Additional cube types (Pyraminx, Megaminx, etc.)
  • More advanced solving algorithms
  • 3D cube visualization
  • Camera input for cube state detection
  • Mobile app version

License

This project is open source and available under the MIT License.

Author

Created with passion for cubing and algorithms.


Note: This is an educational project demonstrating algorithm implementation and web development skills. For competitive speedcubing, consider specialized solving software.

About

Interactive website that solves various types of Rubik's cubes using advanced algorithms

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published