Scrolling Marquee Project

Difficulty: Medium

292

ABOUT

For a final project in my Computer Science Principles class, My group and I were to cover the content we learned for the semester. This project is a scrolling marquee program which has adjustable variables from a text file that the user can adjust. The downloadable code has comments to describe each statement in the code. The variables that can be adjusted are the LED size(how many appear on the screen), width of the LED circles, speed of scrolling, and how many times it repeats.

The user enters characters into the console and it will be printed on the screen.

ProjectRestructure: Main class. Contains drawing LEDs and console input.

Drawing Panel: Creates a the frame.

RetrieveConstants: Receives integers from text file and assigns them to constant variables. Checks to see if the text file exists and the numbers entered are readable values

findChars: Finds what letter the program is on and returns an double integer array of 1's and 0's of the specific character from the References page

References: Contains the double integer array of 1's and 0's for each character. 1 will turn the LED on in the specific location and 0 will be off

In the first draft, my team originally had a single array for all of the 1's and 0's. It worked but looked messy so we decided to implement more legible code.

More Projects You May Like

Automatic Dyno Game

Place your mouse in the correct spot and watch your points rack on on this class Google game.

Fireworks Screensaver

An animated screensaver that displays pixel fireworks. It also gives details on how many have been launched since opened. Set it as your background!

Tetris

Play Tetris in Java! A great learning experience for an Intermediate programmer!

Blackjack

Create a stunning Blackjack game in Java with an easy user interface while finding the best strategies with the AI.