raunit-x / Fractals-Python

Some common fractals as well as a small game developed using turtle using turtle module in python.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Turtle-Python

FRACTALS USING PYTHON

1. Fractal Tree

The tree is printed using simple recursion. In the code comments are included and there should be no problem in the understanding of the code.

2. Circle Fractals

For every circle, four new circles are printed of half the radius of the circle with centers symmetrically placed at the circumference of it.

3. Koch Snowflake

Your regular Koch Snowflake which would go to the depth according to the input of the user.

GAME

1. A very simple game in which the 'turtle' is confined in a box where the number of targets are moving randomly. A timer set and a score is maintained. At the end of the 60 seconds the score is displayed.

2. The code of the game has comments which should do the job of explaining the code.

SNAKE GAME

1. A very common snake game where there is food upon eating which the snake's length increases and the game gets faster hence tougher.

The comments in the code are provided hence the code is very easy to understand.

About

Some common fractals as well as a small game developed using turtle using turtle module in python.


Languages

Language:Python 100.0%