Code Examples

Name Date Downloads Comments
USA Flag in Phrogram
This program displays the flag of the USA. It is not done with sprites, only drawing objects and...
Fri, Feb 12 2010 43 1
Star Maker
Two simple programs that draw a 5-sided star. One uses the pen method so it cannot be filled. The...
Fri, Feb 12 2010 41 0
Regular Polygon Function
These two programs are based on RegularPolygonMaker. Instead of a method, they use a function for...
Sun, Jan 31 2010 35 0
Regular Polygon Maker
I was experimenting a bit with some trigonometric concepts and came up with a program that makes...
Sat, Jan 30 2010 44 0
WindWXVISTA, by Jim Halbach
Jim recently posted this program in the forums ... it's a great example of the Weatherbug library...
Wed, Nov 25 2009 84 0
SMB (initials of well-known game)
SMB was created in 2007 by Dan White, then a student at The Ohio State University. It was submitted...
Mon, May 18 2009 338 4
Paintball
Paintball was created in 2007 by Jeremy S Davis, then a student at The Ohio State University. It...
Mon, May 18 2009 420 0
Rounded Rectangle, by Jamey
This is an interesting program by Jamey, who was an early contributor to KPL and Phrogram, back...
Sat, May 16 2009 135 0
RingFlyer - 3D effects in a 2D space
RingFlyer was created in 2007 by Corey Siefker, then a student at The Ohio State University. It...
Wed, May 6 2009 193 0
Background scrolling with enemy targets
This program takes the scroll background demo a step further, by adding enemy targets that fly in...
Wed, Dec 3 2008 186 0
Pausing a program - Dragon Rider's example
Dragon Rider created this sample program a while back,showing how you to to pause the running of...
Mon, Nov 24 2008 188 0
Background scrolling demo
This program demonstrates a scrolling effect on a screen, useful in a side-scroller game. The scrolling...
Mon, Nov 24 2008 218 0
Array Parameters, User Input
This program shows how functions can work to return a value for numbers in an array.
Sun, Nov 23 2008 367 0
Five Chances to guess a random number
This console program constructs a guessing game over a random number it repeats continually until...
Mon, Nov 17 2008 291 0
Example of Methods illustrating Loop types
This program constructs five methods outside of Method Main (). The first two methods are used in...
Wed, Nov 12 2008 222 0
British Air Force circle
This little program creates the symbol for the British Air Force, using the circle class.
Mon, Nov 10 2008 235 0
Create a random-length loop with random colors
This program shows how you can use the random() function in the Math library to create a random...
Thu, Nov 6 2008 198 0
Loops, While statements, If-Then-Else Conditionals & Booleans
This program shows how loops work in the console with if-then-else statements, while statements...
Thu, Oct 30 2008 185 0
Computer BotChat, by Zman
This program shows how you can make a program that emulates a conversation between machine and user...
Mon, Jul 21 2008 197 0
Boolean data types, by Zman
This program offers a brief explanation of boolean data types and sows. There are 2 'flavors'...
Mon, Jul 21 2008 271 0
Page 1 of 6 (107 items) 1 2 3 4 5 Next > ... Last »