Difference between revisions of "Programs"

From MathMoth
Jump to: navigation, search
Line 13: Line 13:
 
== PDP11 Games ==
 
== PDP11 Games ==
  
Before the era of widespread game consoles, people found ways to entertain themselves. The few who had computers made a few simple yet captivating [[PDP11 Games|text-based games]]. Now that retro gaming is becoming widespread, there is an excellent opportunity to bring these games back. Since almost nobody has a PDP-11 available nowadays, I have ported them to Python and ncurses.
+
Before the era of widespread game consoles, people found ways to entertain themselves. The few who had computers made a few simple yet captivating text-based games. Now that retro gaming is becoming widespread, there is an excellent opportunity to bring these games back. Since almost nobody has a PDP-11 available nowadays, I have ported them to Python and ncurses.
 +
 
 +
=== Super Pacman ===
 +
 
 +
A pacman game. You dodge ghosts, eat dots, and eat ghosts if you have a power pellet. It has a scoreboard and ramping difficulty, and was the most popular of the games and the one I did first.
 +
The code is somewhat object oriented; the main loop polls all the objects in the game and has them do the appropriate actions. Download it [http://www.mathmoth.org/programs/pdp11games/sp21 here].
  
 
== 1966 Snoopy Calendar ==
 
== 1966 Snoopy Calendar ==

Revision as of 15:36, 17 September 2017

English Russian

Programming contests

The International Tournament in Informatics takes place in Shumen, Bulgaria every year at the end of November.

Online training

Sudoku solver

My teacher believes that Sudoku puzzles count as advanced math. My little program will help you also become an advanced learner.

PDP11 Games

Before the era of widespread game consoles, people found ways to entertain themselves. The few who had computers made a few simple yet captivating text-based games. Now that retro gaming is becoming widespread, there is an excellent opportunity to bring these games back. Since almost nobody has a PDP-11 available nowadays, I have ported them to Python and ncurses.

Super Pacman

A pacman game. You dodge ghosts, eat dots, and eat ghosts if you have a power pellet. It has a scoreboard and ramping difficulty, and was the most popular of the games and the one I did first. The code is somewhat object oriented; the main loop polls all the objects in the game and has them do the appropriate actions. Download it here.

1966 Snoopy Calendar

Everybody knows that a real programmer doesn't use Pascal, can write a 5-page loop without being confused, and has a 1966 Snoopy Calendar on the wall. The works of real programmers are still with us to cherish and imitate. But where's the calendar? This CGI script recreates the famous calendar from the mainframe era, which is also valid for the given year. Print the calendar and keep it on the wall. It will be useful again and again in the coming years.

Year:

Python

A one-line Python program can solve any problem.