Skip to content

Instantly share code, notes, and snippets.

@mattbarackman
mattbarackman / CheckerboardKarel.java
Created September 12, 2012 03:03
Solution to CS106A Assignment 1.3 - CheckerboardKarel
/*
* File: CheckerboardKarel.java
* ----------------------------
* The CheckerboardKarel class should draw a checkerboard using
* beepers, as described in Assignment 1. Karel will start in
* the bottom left-corner facing East and will place a beeper on
* its current location. It will start by going east, and snaking
* up the board, placing a beeper on every other square. It should
* be able to handle any size grid.
*