Tag Archives: program dump

Program Dump #4

I made a little utility to download all Imgur images and albums that a user has submitted to Reddit.  I worked on it to learn Python and regex.  My conclusion was that Python is fun and regex is fiddly but interesting.

You can download it on GitHub.  It’s called rid.py (short for Reddit-Imgur Downloader).

Also, my friends and I are working on a chess game, the code for which can be seen on GitHub.  It is going to be used to practice the basic design methodologies that we’re going to use for a group project, like  careful documentation.  We’re looking to expand this into a much more ambitious game.

Term Projects

I worked on two final projects this term.  The first was a group project in my Object Oriented programming course.  I did the frontend coding of Toys Are Yours.  The second was a solo effort in my graphics course–I did what I often do, and made a game called HistoBreaker.

 

Toys Are Yours utilizes the calendar widget I posted here previously.

Program Dump #3 – Fun With Numbers (and Python!)

I decided to mess around with Python for a while, and ended up making number-related programs.  Namely, these scripts tested for number happiness and primality, generated happy and/or prime numbers, and generated prime numbers until the program received an interrupt.  The prime number generator utilizes the Sieve of Eratosthenes if I implemented it correctly.

Keep in mind that none of this stuff is optimized–I did each of these in a few minutes or so, just for fun and all that.

Fun With Numbers: Download

Keep in mind that after you unpack the .zip, you’ll need Python installed on your system and then run the script from the terminal.

Program Dump #1

These are my Tic-Tac-Toe and Blackjack games I made for fun. I originally posted them on my other, more casual blog.

Tic-Tac-Toe:  Original post | Download

Compile with “java TTT.java” It’s really simple and kind of crude, but eh.

Blackjack: Original post | Download

Compile with “java -jar Blackjack.jar” It’s incomplete, but I don’t know if I’ll bother improving it. Depends on if I end up doing anything more interesting instead.