Skip to content

ef-end-y/PythonLessons

Repository files navigation

PythonLessons

lesson3.py, lesson4.py, lesson5.py - low-level pixel-by-pixel rendering. It's shown how to draw a line, a triangle, paint over a polygon, impose a texture, etc.

lesson4lesson5


chess.py - a chess bot plays with itself. There are only pawns, rooks and kings, but you can add other pieces. This is an example how the bot thinks ahead and chooses the best move

chess playing


sokoban.py is a telegram bot that plays Sokoban with you (https://en.wikipedia.org/wiki/Sokoban). Do not program like this - it's a hack in a certain way. I made it for small size only.

☿ - a warehouse keeper
◯ - a box
◉ - a box on a storage location

sokoban playing


fire.py run it in console and get fire

fire

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages