Rubik Cube Game
This is a 3D Rubik Cube Game in Python/Django for backend and React for frontend.
Visit my game:
https://rubiks-cube-game-1.onrender.com
Github URL:
https://github.com/franciscojavierguardado101/rubiks-cube-game
Rubik's Cube 3D
An interactive 3D Rubik's Cube game you can play in the browser. The cube is fully rendered in 3D — you can click and drag to rotate your
view, scroll to zoom in and out, and use the move buttons to rotate individual faces (U, D, F, B, R, L and their counter-clockwise
variants).
How it works:
- Click New Game and choose a difficulty (which controls how many scramble moves are applied)
- A timer and move counter start tracking your solve
- When you solve the cube, a popup appears showing your time and moves — you can enter your name and save your score to the leaderboard
- The Scoreboard shows the top 10 solves
- The Settings panel lets you switch between 5 color themes: Classic, Neon, Pastel, Ocean, and Galaxy
Technologies used:
- React — UI and game interface
- Three.js (via React Three Fiber) — 3D rendering of the cube
- Zustand — game state management (moves, timer, cube positions)
- Django (Python) — REST API backend
- Django REST Framework — API for themes, scores, and game sessions
- SQLite — database for storing scores and themes
- Deployed on Render (backend as a web service, frontend as a static site)