10:45 AM Sunday Room: 5015
We will touch many aspects of object oriented programming in JavaScript and create a model for Rubik's cube that helps us represent the state of the cube and compute the final effect of the cube for any given sequence of moves. We will use simple 2D graphics to draw the cube in an html page, capture mouse movements to rotate any side of the cube and let user interact with it in order to solve it. We will also discuss some algorithms to find useful moves by simple search mechanism enhanced with Rubik's cube common sense.
Join us if you are new to JavaScript, have interest in Rubik's cube or just want to have some fun with programming.