Skip to content

Dagonite/python-projects

Repository files navigation

Repository for my small Python projects

Simple game where the user has to take the wind direction into account before shooting arrows at a target. The user then gets a grade depending on their score. This game requires imports from my python-exercises repo.

A game of Blackjack between a user and a computer.

Open boxes and try to win as much money as possible.

Program that draws a two-dimensional grid with a person at the centre. Every tenth of a second, the person takes a random step up, down, left, or right. Every square of the grid displays how many times the person has visited it. The walk ends once the person leaves the grid. Data from the traced walk is then appended to a CSV file. This data is then used to generate graphs. This is an adaption of my tracedwalk2d.py from Pract09 of the Worksheets found within my python-exercises repo.

Guess a randomly selected number within a certain amount of tries.

Try to guess the letters of a given phrase without losing all of your lives.

A game of Noughts and Crosses. This makes use of a magic square to determine if there are three of the same symbol in a line.

University coursework where I had to write a program that displays a patchwork sample which is unique to my university number. The size and colours of the patchwork are decided by the user. After the patchwork is drawn, the user may click a tile to cycle the available colours for it.

A program that solves any given Sudoku puzzle by using a backtracking algorithm.

Watch turtles race it out.

Requirements

Install the requirements by entering this command in a terminal:

pip install -r requirements.txt

About

Repository for my small Python projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages