Here is a simple Snake and Ladder game in Java. Just run the program and hit 1 for rotating the cube. It is a two player game so each player will get chance one after another.