More Do-It-Yourself Java Games: An Introduction to Java Graphics and Event-Driven Programming, Paperback/Paul Godtland

More Do-It-Yourself Java Games: An Introduction to Java Graphics and Event-Driven Programming, Paperback/Paul Godtland

An publicare
2015
Nr. Pagini
736
ISBN
9781519187994

Descriere

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.

Pe aceeași temă