Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 929 Bytes

File metadata and controls

35 lines (23 loc) · 929 Bytes

tkinter stuff

Experiments with Python's Tkinter.

Not licensed in any way.

2048

A 2048 ripoff, with customizable field settings.

squares

A square sequence closing in on mouse pointer.

langton

Langton's Ant simulator.

scroll

A map you can (kind of) scroll with your mouse.

Harder to implement than it seems at first, still becomes laggy at field size ~1000.

deep

A random static image generated using the same technique as in Scroll (fixed and improved).

Try setting cell side to 1 and width/height to 1000 for an interesting result.

paint

A very simple painter, includes straight lines, rectangles and ovals of adjustable color.

buttons

The moment I discovered you can bind events to canvas items.

cbutton

An upgraded Canvas class inheriting from original tkinter's. Now with buttons!

sokoban

A classic sokoban game (without any levels included) with a level editor and ability to load/save levels