Collection of simple experiments, scripts, and toy AI/algorithm projects in Python. For learning and demonstration purposes.
shared.py– general utilities used by subprojectsmaze/– maze-solving algorithms (maze.py, inputs/outputs, screenshots)
A minimal toy project for exploring different maze-solving and pathfinding strategies.
Key files:
maze/maze.py– main solver scriptmaze/maze1.txt,maze/maze2.txt,maze/maze3.txt– example mazes to solvemaze/QueueFrontier_maze1.png, ... – solver result visualizations (BFS/DFS)maze/README.md– how-to for the maze component
How to run:
cd maze
python maze.py maze1.txtYou can replace maze1.txt with any other test file in the maze/ directory.
Sample output: The script will output the solution and optionally save an image if configured.
Example usage from maze/README.md:
Maze solving algorithm.
Usage: python maze.py maze1.txt
Example screenshots (see repo for more):
shared.py contains general helper functions that can be imported and used across different subprojects in this repo.
- Clone this repository:
git clone https://github.com/szymoniwacz/python-ai-sandbox.git cd python-ai-sandbox - See the
/mazedirectory for the maze solver demo. - Add your own AI/sandbox projects as new directories or Python scripts!
🛠️ Experimental, educational and not actively maintained. Intended as a portfolio sandbox.
MIT
This repository collects experiments in basic AI, search, and algorithmic thinking with Python.
Feel free to use as boilerplate and submit your own little sandboxes!

