The main goal in the thesis was to represent the Rubik's Cube in the object oriented programming paradigm with the help of classes and relationships between them and also to visually represent the cube in the 3D environment. For the graphics interface we used WPF technology (Windows Presentation Foundation), which offers a vast array of classes for interactive graphics. The final result is a desktop application, which allows the user to rotate the whole cube or just a layer in all possible directions with the help of a computer mouse. We also added the functionality of user defined input of any cube, validation of input data and solving it with the help of one of the most known methods for solving the Rubik's cube, Fridrich method. The solution is composed of multiple steps, where each step in the solution is represented descriptively and as an animation on the screen.