Overview

A console program to display a snakes and ladders board based on a text file. This was coded using C with the aim to gain an understanding of pointers.

This project used pointers in the form of nodes to form a doubly-linked list to traverse of _ O (n) _ time and space complexity.

Each node is formed as a _ complex_node _ which contains a unique identifier in the form of an integer to represent each square on the board as well as pointers to other nodes which are before or after it in the list. Each snake or ladder is added as a pointer called _ transition _.

This project was managed using BitBucket to track version changes and write documentation through the CodeBlocks IDE.

Built With

Share this project:

Updates