JavaScript Cipher Wheel
Posted by Al Sweigart in misc
I've created a web version of the Caesar Cipher wheel using JQuery and CSS sprites.
Posted by Al Sweigart in misc
I've created a web version of the Caesar Cipher wheel using JQuery and CSS sprites.
Posted by Al Sweigart in misc
The Caesar Cipher Wheel is a paper cutout that can be used to perform encryption and decryption in the Caesar Cipher. However, if you don't have a printer but do have Python and Pygame installed, you can use this Caesar Cipher Wheel program to rotate a virtual cipher disk instead.
Posted by Al Sweigart in misc
Draw out horizontal, vertical, or diagonal lines in the same directions that the dot moves. The pattern of the dot's movement becomes longer and longer.
Posted by Al Sweigart in misc
Pygcurse (pronounced "pig curse") is a curses library emulator that runs on top of the Pygame framework. It provides an easy way to create text adventures, roguelikes, and console-style applications. The mascot of Pygcurse is a blue pig with a skull tattoo on its butt.
Posted by Al Sweigart in misc
I've decided to make the incomplete rough drafts of my next two Python books available.
Become a Codebreaker with Python
Making Graphical Games with Pygame
The emphasis is on "rough" and "incomplete", but I thought it would be better to give a preview of the direction I was going. These books are also available under a Creative Commons BY-NC-SA license like the first "Invent with Python" book.
Posted by Al Sweigart in misc
This is a mistake a lot of new programmers make. The coder comes up with some clever trick or that can save a few bytes of memory or shave a few nanoseconds off of a function. You must learn that these "clever tricks" aren't really worth it.
Posted by Al Sweigart in misc
This is a programming tutorial for beginner and intermediate programmers who want to learn what recursion is. The programming language used for the examples is Python, but you can probably follow along if you know programming in some other language such as PHP or JavaScript.
Posted by Al Sweigart in misc
Here's the source code for a Bejeweled clone called Gemgem, written in Python with Pygame.
Posted by Al Sweigart in misc
Here's a Sokoban ("box pusher") clone called Star Pusher. I've used the graphics from the Planet Cute collection. You'll need Python (2 or 3) and Pygame installed to run it. Just download and unzip the files to the same directory. It comes with 201 levels from David W. Skinner.
Posted by Al Sweigart in misc
I've made a Connect Four AI in Python with Pygame.