The Coder's Handbook
Table Of Contents

TABLE OF CONTENTS

0

Looking for more information? Log into your BCPS account and check the old edition!

UNIT ZERO SUMMER WORK

UNIT ONE JAVA BASICS

0

How to use the Coder's Handbook

1

Writing print statements and using escape characters

2

How to make your code readable and easier to debug

3

Variables

Understanding primitive types, using variables, and doing math.

4

Constants

Why we use constants and the dangers of magic numbers.

5

How to use conditionals, logical operators, and comparison operators.

6

Strings


7

Using the Scanner class to read input from the console

8

Methods


9

Classes


10

Casting


11

Random


UNIT TWO REPETIION AND ARRAYS

12

How to write for loops, while loops, do-while loops, and control statements

13

How and why you might want to write a recursive method

14

How to use both one and two dimensional arrays

15

Learn about Big O Notation and how to search and sort efficiently

16

Using try, catch, and throw to handle errors

17

Consider three examples of how to read files using Scanner.

18

Learn about objects, classes, scope, constructors, this, public, private and static.

UNIT THREE GRAPHICS AND OOP

19

Setting Up Your Development Environment

20

How to draw shapes, change colors, and display text in Slick 2D

21

How to use both the event handlers and directly poll for input.

22

Adding Game States to your Slick2D Game project

23

How to use ArrayLists in Java

24

How to use for each loops to make your faster to write and easier to read

25

How to add an image to your Slick2D project

??

How to use Sprite Sheets and make simple animations in your program.

??

Fonts


??

Inheritance


??

Polymorphism


??

Abstract Classes


ADVANCED TOPICS

??

Save your project as a Runnable Jar to share with the world.

??

Collision Detection


??

Pathfinding


??

Stacks and Queues


??

Enumerations