Projects > Acorn Game


ACORN GAME


Acorn Game logo
Roles

Programmer

Software used

Python3

In Acorn Game, the player must guide an acorn through various mazes and obstacles to reach a finish point. The project is a small, text based game run in the command line, which allows play on various game boards parsed in from text files, as well as a solver algorithm that can perform a breadth-first or depth-first search on a given board. Acorn Game challenges the player through obstacles of walls, fire, and teleporters, whilst also testing their problem solving skills via tracking the amount of steps they took to reach the goal.

What went well - accessibility. Acorn Game is widely accessible due to the control being simple, whilst also adding different layers of challenges through puzzle size, puzzle complexity and move count.
What could have been done better - implemented search algorithms. The search algorithms implemented were breadth-first search and depth-first search based on the initial project scope, but an algorithm such as A* with heuristics would be more suitable due to the inherent shortcomings of the breadth-first and depth-first searches.

My contributions

Being a solo project, I was the sole contributor/developer for Acorn Game, though the idea was not my own and is initially based off of a university assessment brief.

Features
  • Game
    • > runs in the command line
    • > user input via text
  • Board parser
    • > checks validity of text file and translates to game board object
    • > users can make own board (specifications found in repo)
  • Board solver
    • > breadth-first search algorithm (returns solution with least moves)
    • BFS output
    • > depth-first search algorithm
    • DFS output
Work-In-Progress

As of this moment in time, this project is being adjusted to run within a web browser so that it can be played online, with no downloads or setup required. If you’re keen to play the game now, please refer to the instructions in the GitHub repository.