A friend from another country has never played Snakes and Ladders. You are not allowed to show them, only tell them, in words, exactly what to do. Could you write instructions so clear that they could play the whole game without asking a single question?

Image source: File:Snakes and Ladders board.jpg (Wikimedia Commons)
In this post:
- What a narrative algorithm is
- Breaking a big task into smaller subtasks
- Writing clear steps, with Snakes and Ladders as the example
- Playing a game that follows an algorithm one step at a time
- Sorting subtasks, spotting unclear steps and writing your own
Narrative algorithms
An algorithm is a set of step-by-step instructions for doing a task. A narrative algorithm is one written in ordinary sentences, like a story told in order, usually with numbered steps. (In the next posts you will draw algorithms as flowcharts instead.)
A good algorithm is:
- Clear: each step means one thing only. “Move a bit” is unclear; “move forward 3 squares” is clear.
- In the right order: you cannot move your counter before you roll the die.
- Complete: it covers every situation that can happen (what if you land on a snake?).
- Finite: it has a clear start and a clear end, so it does not go on forever.
Step 1: divide the task into subtasks
Big tasks are easier if you first split them into smaller jobs, called subtasks, and then write the steps for each one. For example, getting ready for school could be split into: get washed, get dressed, eat breakfast and pack your bag. Each subtask has its own steps.
Try it: which main task does each subtask belong to?
Drag (or tap) each subtask into the main task it belongs to.
Plan a class lime
Make a cup of cocoa
Play Snakes and Ladders
Step 2: write the steps
Here is a narrative algorithm for Snakes and Ladders on a 30-square board. Notice how it covers the start, every turn, the ladders and snakes, the winner and the order of turns:
- Both players place their counters just before square 1. The youngest player goes first.
- The player whose turn it is rolls the die.
- Move the counter forward by the number rolled. If that would take it past square 30, it stays where it is.
- If the counter lands at the foot of a ladder, move it up to the top of the ladder.
- If the counter lands on a snake’s head, move it down to the end of the snake’s tail.
- If the counter is on square 30, that player wins and the game ends.
- If the player rolled a 6, they roll again (go back to step 2). Otherwise, it is the other player’s turn (go back to step 2).
Activity: play by the algorithm
Try it: Snakes and Ladders, one step at a time
Click Do the next step to carry out the algorithm one step at a time. The step being carried out is highlighted. Watch how the game follows the steps exactly, just like a computer would.
The algorithm
- Both counters start before square 1. Blue goes first.
- Roll the die.
- Move forward that many squares (stay put if it would go past 30).
- Foot of a ladder? Climb up.
- Snake’s head? Slide down.
- On square 30? You win, and the game ends.
- Rolled a 6? Roll again. If not, the other player’s turn. Go back to step 2.
Activity: spot the unclear step
Try it: fix the algorithm
Click the best answer. You get feedback straight away; only your first click counts towards your score.
1. “Move your counter some squares.” What is wrong with this step?
2. An algorithm says: “1. Move your counter. 2. Roll the die.” What is the problem?
3. An algorithm for the game never says what happens when someone reaches square 30. What is missing?
4. Which step is clearest?
Watch: what is an algorithm?
This short video explains what an algorithm is, with everyday examples.
Video: Computer Science Basics: Algorithms – LearnFree – https://www.youtube.com/watch?v=kM9ASKAni_s
Your turn: write a narrative algorithm
Choose one task and write a numbered narrative algorithm for it. First list the subtasks, then write the steps for each. Swap with a partner: can they follow your steps exactly, without asking a question?
- How to play noughts and crosses (tic-tac-toe)
- How to make a cheese sandwich
- How to find the larger of two numbers
- How to top up a phone with credit
Self-check quiz
Click the best answer. You get feedback straight away; only your first click counts towards your score.
1. An algorithm is…
2. A narrative algorithm is written…
3. Splitting “get ready for school” into wash, dress, eat and pack is called…
4. Why must an algorithm be finite?
5. In the Snakes and Ladders algorithm, which step is a decision?
6. Which word makes the order of narrative steps clear?
Related posts on islandclass.org
- WHAT IS AN ALGORITHM? – DEFINITION
- The role of algorithms – a very short older note
- Algorithms In Narrative Form
- Alt Class – Introduction to narrative algorithms using a full example – class recording with a full example
- Solution: Narrative Algorithm for Snakes and ladders – password-protected: your teacher will give you the password
For later, in Forms 4–5 (CSEC IT): these go deeper and are for when you reach CSEC Information Technology.
- What Is an Algorithm? Definition and Characteristics of a Good Algorithm
- Steps in Problem-Solving and the Divide-and-Conquer Approach
Next: Flowchart Symbols
Syllabus link: Forms 1–3 ICT curriculum, Module 5, Objective 5.8 – develop a narrative solution to a given task.
Attributions to media used in this post:
- Snakes and Ladders board.jpg – Meghmollar2017 – CC BY-SA 4.0 (via Wikimedia Commons)
- Video: Computer Science Basics: Algorithms – LearnFree (YouTube)
Updates
2026/10/21
- Fixed the activity code so its buttons keep working.
© 2026 Vedesh Kungebeharry. All rights reserved.