Skip to content

LeviM-0323/Python-Projects

Repository files navigation

Python Projects

A small collection of Python projects accumulated during my learning process

Streamlit Tests

An even smaller collection of Streamlit web apps to learn the framework

In order to use Prompt Playground you'll need to provide your own OpenAI key. Duplicate .env-example and rename it to .env then replace the placeholder variable with your key and rerun the program.

Maze Solver

Just a Tkinter GUI app that allows the user to generate a random maze with random start and end points, then solve the maze using different solving algorithms. The app tracks how long each algorithm takes and how many nodes are visited.

Voice Control

Meant to be a project allowing users to attempt to play DOOM using only their voice. Voice controls are very iffy at the moment and there are a lot of bugs that need fixing, but it does TECHNICALLY work. You will have to change your controls in DOOM to be completely independant of the mouse, as this program doesn't use the mouse. Otherwise just run the program, run the game, and good luck.

Snake AI

From-scratch Snake AI that doesn't ever get to the point of mastering the game but DOES learn after each ineration. My first dive into Reinforcement Learning (RL) that can also be dockerized to run for longer periods of time easier

ColourThing

Not too sure why I made this, I guess i thought it just looked pretty and was fun to program. Not everything has to be super complicated as a project

GoldenRatio

A very simple project that will draw out a mathematical constant known as the "Golden Spiral" which is derived from the "Golden Ratio". I have a small fascination with this phenomenon and to better help me understand it I decided to make it in code. It uses the Turtle library for incrementally drawing the shape, to really see how its made. Pretty cool!

CliBattleship

Battleship from the command-line that can also be played over the web with a websocket. I think most people know how the game of Battleship is played, but if not you'll learn quickly by running the game. It can also be played locally, although it becomes pretty easy for players to cheat if thats the case.

APITests

Simplest project in this repo. It literally just makes an API request to the DnD 5e tools website, then prints the response to the console. Planned to do more with this but it was really just an intro to the requests library in Python

About

A small collection of various Python projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages