The Rubik's Clock Game project is a digital adaptation of the classic Rubik's Clock puzzle. In this interactive game, players manipulate a 3x3 grid of clocks, each showing times between 1 and 12 hours, with the goal to set all clocks to 12 using four buttons that adjust adjacent clocks.
The game follows the Model-View-Controller (MVC) architecture for organized and efficient coding. The rubikGUI class provides the interface, rubikModel manages the game logic, and rubikController facilitates interaction between the model and view. The clockModel class, integral to rubikModel, handles the individual clock logic.
Key challenges in this project included implementing complex game logic to accurately reflect the puzzle mechanics and designing an intuitive user interface. Additionally, ensuring that the game accurately tracked player steps and recognized the winning condition was crucial for a satisfying gameplay experience.
This project was a stimulating blend of logical problem-solving and creative interface design. It honed my skills in Java and deepened my understanding of MVC architecture, preparing me for more complex software development challenges in the future.