Oracle Interview Question

Write functions for a snake and ladder game.