More Do-It-Yourself Java Games, Volume 2
- Length: 736 pages
- Edition: 2
- Language: English
- Publisher: CreateSpace Independent Publishing Platform
- Publication Date: 2015-11-08
- ISBN-10: 1519187998
- ISBN-13: 9781519187994
- Sales Rank: #1304025 (See Top 100 Books)
More Do-It-Yourself Java Games: An Introduction to Java Graphics and Event-Driven Programming (Volume 2)
More Do-It-Yourself Java Games: An Introduction to Java Graphics and Event-Driven Programming is the second book of the Do-It-Yourself Java Games series. In event-driven programming, the program lays out all the game pieces then waits. The user then takes an action and the program responds to that action, whatever that action may be, and in whatever order the actions are taken.
You’ll learn to create windows and dialogs, to add buttons and input fields, to use images and drawings, and to respond to keyboard input and mouse clicks and drags. You’ll create 10 more games including several puzzles, a maze, a dice game, a word game, a card game, and an image resizer program.
This book assumes you either have an understanding of basic Java programming or you have read the first book, Do-It-Yourself Java Games: An Introduction to Java Computer Programming.
The Do-It-Yourself Java Games series of books uses a unique “discovery learning” approach to teach computer programming: learn Java programming techniques more by doing Java programming than by reading about them. Through extensive use of fill-in blanks, with answers at the back of the book, you will be guided to write complete programs yourself, starting with the first lesson. You’ll create puzzle and game programs and discover how, when, and why Java programs are written the way they are.
More Do-It-Yourself Java Games was updated to a second edition to work in Windows 10 and Java 8, and to make sure the games will run as designed across multiple platforms, including Windows, OS X, and Linux.
Table of Contents
Project 1 – Wizard of Yes/No
Project 2 – Guess My Color
Project 3 – Wizard of Yes/No Disclaimer
Project 4 – Framed
Project 5 – Watch Your Step
Project 6 – Sliding Tiles
Project 7 – Maze Generator and Anti-Maze
Project 8 – Sliding Tiles Menu Bar
Project 9 – Greedy
Project 10 – Maze Generator Options Dialog
Project 11 – Word Builder
Project 12 – Image Resizer
Project 13 – Baker’s Dozen Solitaire