Java Programs

Craps – Game

This program plays multiple games of craps.
The program will create a casino like experience with all of the options and thrills of a game of craps.

 

Date – Calendar

A program to show real calendar code.
The program will create a calendar with all of the correct terms used in the modern Gregorian calendar. DateTest will test Date.java in a whole range of unusual dates to ensure it’s accuracy. The program will create a calendar with all of the correct terms used in the modern Gregorian calendar.

 

Guessing Game

A program will play a game.
This program will select a random number between 1 and 500.
The user will guess the number and the program will tell you to go higher or lower. If you guess 8 times you will run out of higher/lower prompts, and will have to guess. This demonstrates the use of Graphical User Interfaces.

 

Graphics Project – ScreenSaver

A Screen Saver similar to old DVD Player screen savers, typically used to prevent screen burn-in. 8 Random objects move around the screen in a whole manner of ways. The authors names and ID numbers scroll across the screen. The current date & time is displayed at random locations on the screen.

 

File IO

The purpose is to explore the basics behind text files. In this project I use a Formatter to write to the file, use a Scanner to read from the file.