Programming
I just started programming in Java last spring. It is a great language to learn so you can learn
the basics of computer programming, although it has its limitations.
You can run the programs on your computer by downloading the zip file. You will also need to install the JDK software.
Instructions can be found
here.
To run the files, open the command prompt in the direct containing the file. First, you must
compile the file. This is done be typing in "javac *.java" without the quotations. Then, to
run the program, you must type "java [file name]" where you do not include the ".java" extension
on the file name.
Below I have included a Java Applet. I took my Password.java program and created an Applet for
it. This program is for to help make a more secure password. I believe that this is probably
the most useful program I have made so far. You simply type in a word that you would normally
use as a password, such as a pet's name or you last name. Then, push the "Enter" button and
it will return a password that apears like the original word but includes symbols and numbers.
Also, each time you push the "Enter" button, you will get a different result.
Just download the .zip file and extract it. Then open the command prompt in that directory.
Next you must compile the files by typing "javac *.java" without the quotes. Then, to run the program,
type "java [filename]" where the filename is the same as name given to the program on the list without
any spaces and it is case sensitive. The javadoc is a link to the documentation of the program files.
- Magic 8 Ball
- Monotony (a simplified, text based version of Monopoly with a UGA theme)
- Password Suggester (A command prompt version of the applet to the right)
|
|
Here is my first game. You must drag the ball through the maze and drop it in the box. Don't touch the sides
as you will be sent beck to the start.
UPDATE Version .002 Now with improved collision detection.
UPDATE Version .003 Now with sounds.
UPDATE I decided not to do any more updates. However, you can see my next project
here. It is an earlier version, so it is not yet complete. I will add levels and ghosts at a later
date. I plan on it being my project for the holidays.
Home
Top
Sports