The Coder's Handbook
Table Of Contents
TABLE OF CONTENTS
UNIT ZERO SUMMER WORK
0 Welcome How to use the Coder's Handbook
1 Console Output Writing print statements and using escape characters
2 Style and Comments How to make your code readable and easier to debug
3 Variables Understanding primitive types, using variables, and casting.
4 Math Using addition, subtraction, multiplication, division, and modulus.
5 Constants Why we use constants and the dangers of magic numbers
6 Conditionals Using conditionals, logical operators, and comparison operators
7 Strings Using Strings, comparisons, immutability and concatenation.
8 Console Input Using the Scanner class to read input from the console
UNIT ONE JAVA BASICS
9 Methods
10 Classes
11 Casting
12 Random
UNIT TWO REPETIION AND ARRAYS
13 Loops How to write for loops, while loops, do-while loops, and branching
14 Recursion How and why you might want to write a recursive method
15 Arrays How to use both one and two dimensional arrays
16 Sorts and Searches Learn about Big O Notation and how to search and sort efficiently
17 Exceptions Using try, catch, and throw to handle errors
18 Reading Files Consider three examples of how to read files using Scanner
19 Objects Study classes, scope, constructors, this, public, private and static
UNIT THREE GRAPHICS AND OOP
20 Setup Eclipse + Slick 2D Setting Up Your Development Environment
21 Shapes, Color, and Text Draw shapes, change colors, and display text in Slick 2D
22 Mouse and Keyboard Use both the event handlers and directly poll for input
23 Game States Adding Game States to your Slick2D Game project
24 ArrayLists How to use ArrayLists in Java
25 For Each Loops A handy shorthand for looping through collections
26 Fonts How to draw text in different fonts and sizes
27 Images How to add an image to your Slick2D project
28 Sprites and Animation Use Sprite Sheets and make simple animations in your program
29 Perlin Noise Learn about using noise algorithms to generate natural terrain
30 Inheritance Learn about superclasses, subclasses, and code reuse!
31 Abstract Classes Learn how the power of abstract classes and abstract methods
32 Polymorphism
ADVANCED TOPICS
33 Jarsplice Save your project as a Runnable Jar to share with the world.
34 Collision Detection
35 Pathfinding
36 Enumerations
37 Stacks and Queues