![]() |
More Do-It-Yourself Java GamesAn Introduction to Java Graphics and Event-Driven Programmingby Annette Godtland Quantity discounts available! |
More Do-It-Yourself Java Games: An Introduction to Java Java Graphics and Event-Driven Programming is the second book in the . It teaches the basics of working with color, graphics, and many forms of user interface as you create card games, dice games, mazes, word games and many more puzzles and games. There are a few more files you need to do the lessons in the book. Download to your computer and extract the files into your Java work folder.
The Do-It-Yourself Java Games: An Introduction to Java Computer Programming. The in the series is Advanced Do-It-Yourself Java Games: An Introduction to Java Threads and Animated Video Games.
in the series isYou'll create ten computer programs using graphics and event-driven programming:
![]() |
Learn how to create a window, add text, change fonts(font), and add scroll bars. The Wizard of Yes/No can help you make yes or no decisions. |
![]() |
Learn the basics of Java color, window layout, and clickable buttons as you build this game. The goal of Guess My Color is to match the target color by adjusting the red, green, and blue hue of the sample color. |
![]() |
Learn to customize buttons that change appearance when clicked. Clicking tiles in Framed will turn groups of lights on or off. The goal is to form a frame of lights. |
![]() |
Learn to customize buttons that display color or text based on the state of the button. The goal in Watch Your Step is to reveal all the safe terrain without stepping on a black hole. The numbers show how many squares of neighboring terrain have holes. |
![]() |
Learn to create a menu bar and work with images as you build this game of sliding tiles. The object of Sliding Tiles is to slide the image tiles back to their positions in the original picture. |
![]() ![]() |
Learn to paint circles, lines, and rectangles as you draw the parts of a maze. You'll also learn to add keystroke input to a program and to create a custom options dialog. Maze Generator can generate a random maze of any size. It will generate either a maze or an anti-maze. In an anti-maze, you can only cross lines and cannot move through open areas. The object of the game is to move the green ball to the red ball by pressing cursor movement keys. |
![]() |
Learn to use clickable, changeable drawings as you draw the dice for this game. You'll also learn to arrange many kinds of content in one window. The object of Greedy is to achieve the highest score you can in ten rounds. Increase your score by rolling the dice as many times as you want. But don't be too greedy; if you have a bad roll, you could lose all your points! |
![]() |
Learn to combine color, images, and text in clickable drawings, and to resize window contents. The object of Word Builder is to build words using all the tiles on the board. You receive points for each letter used. The longer the word, the more each letter is worth. This game comes complete with a dictionary of more than 168,000 words. |
![]() |
Learn to add a tool bar, draw with the mouse, and save image files. Image Resizer can be used to resize and crop a JPEG file to any size while maintaining its original proportions. |
![]() |
Learn to create a new image file drawn entirely with Java and to drag items with the mouse. The object of Baker's Dozen Solitaire is to move four rows of thirteen cards to the four top foundation stacks. You may move only one card at a time. Each foundation stack must be started with an ace. Cards may be moved to the foundation stacks in increasing numerical order and must be of the same suit. Each foundation stack ends with a king. Cards of any suit may be moved to other columns, but they must be placed in decreasing numerical order. |
The book provides complete instructions for creating each of these games youself. However, if you would rather download and install the finished games than write the programs yourself, you may download these free games from our
page.Would you like to improve your Java programming skills while having fun doing it? Learn more about the
of books. Learn why these books were written, why learn computer programming, and why Java. Learn how these books are organized, why they were written as electronic books, and what's next.The books ccurrently available in the series:
Do you have a program that you would like to share with others, maybe even sell? You have much more to consider if you want to make it easy for others to use, to protect it, and to sell it safely and securely online. It's time to make your program market-ready.
.