Sankofa Snake 0.10.2

Sankofa Snake

This free snake game comes in kente colors, with the Sankofa bird as its logo, and runs in your browser on a computer or a phone.

About the game

All nine levels are ready to play. The Farm is where you learn the controls. In the Park the snake speeds up after every 5 cowries, and in the Market you steer around stalls. In the City the edge of the board is a wall, and on the Road you cross between trotros and taxis. The Lab brings power-ups, and the Maze has narrow corridors with little room to turn. In the Ocean, currents push the snake sideways when it crosses them. Swimming along a current speeds the snake up, and swimming against one slows it to half speed. The Weaving village puts every challenge together at top speed. Every run puts the stalls, buildings, roads, benches, currents, canoes and looms in new places, and the Maze is a new maze each time. Eat 20 cowries to clear a level and open the next one.

On a computer you steer with the arrow keys. On a phone or tablet, press the arrow buttons under the board or swipe on it.

There are three other ways to play. The daily challenge mixes a world and its rules from the date, so everyone gets the same one that day, and clearing it on days in a row builds a streak. Free play is the classic game in any world you have opened, with wrap-around edges or walls. Practice runs every level at a slower speed, and a crash only stops the snake, which suits a class demo.

Each cowrie plays a short note on its world's own instrument, and the game makes every one of those sounds in code. The Farm has the gyil, a wooden xylophone from the Upper West of Ghana. The Park has a bamboo flute, the Market an iron bell and the Ocean water drops, and the other five worlds each have their own. Phones that support it give a short buzz. You can turn the sound off with the M key or on the How to play tab. For teachers, the teaching guides (opens in a new tab) use the game's code to teach programming, with exercises and answers.

The logo is the Sankofa bird, an Adinkra symbol from Ghana. The bird turns its head back to pick up an egg from its back, and the Akan word means "go back and get it." The game draws the kente patterns and the bird in code, so it needs no image files.

Your scores and stars stay in your browser. The game itself sends nothing to any server and has no ads. This site keeps any review you post on the Play game tab, as the Privacy page explains.

The code is free to read, copy, change and teach with under the Sankofa Snake License (opens in a new tab). It follows the MIT license with two limits. Without my permission, nobody may publish the game in an app store or make a 3D version of it. You can read the code, the level files and the tests on GitHub (opens in a new tab). This page runs release 0.10.2 (opens in a new tab).

Watch the game

2 minutes 18 seconds, with captions

Read the transcript

Title

Meet Sankofa Snake, a free snake game in kente colors that you play right in your browser.

The name

Sankofa is an Akan word from Ghana. It means "go back and get it." The logo is the Sankofa bird, turning its head back to pick up an egg.

How it plays

You steer a snake of woven kente blocks around the board and collect cowrie shells. Eat 20 cowries to clear a level and open the next one.

Nine levels

There are nine levels. Each one adds a new world and one new rule. In the Park, the snake speeds up. In the Market, stalls block your way. In the City, the edges become walls. On the Road, trotros and taxis drive across the board. The Lab adds power-ups: slow motion, shrink, and a pass through your own tail. The Maze is a new maze every run. In the Ocean, currents push the snake sideways. And the Weaving village brings every challenge together, at top speed.

New layouts and stars

Every run places the obstacles somewhere new. Clearing a level earns a star, and a high score with a fast finish earns up to two more.

More ways to play

The daily challenge is the same for everyone on the same date, so you can build a streak. Free play is the classic game in any world you've opened. And Practice opens every level at a slower speed, which suits a class demo.

Sound

Every world plays its notes on its own instrument. The gyil, a wooden xylophone from Ghana's Upper West, plays on the Farm. You'll hear a bamboo flute in the Park, an iron bell in the Market, and water drops in the Ocean. Each cowrie plays the next note up a five-note scale, and the browser makes every sound in code.

Computer, phone and privacy

On a computer, steer with the arrow keys. On a phone or tablet, swipe on the board or press the arrow buttons. Your progress stays on your device. The game sends nothing, and it has no ads or trackers.

For teachers

For teachers, six free lessons use the game's code to teach programming in TypeScript, Python and R. The game also runs in Python with Pygame, and in R with Shiny.

Where to play

Sankofa Snake is free to play on Titus's website. The link is on screen.