# Annotated code

A series of short, heavily annotated JavaScript programs.

* By Mary Rose Cook
* http://maryrosecook.com
* maryrosecook@maryrosecook.com

## Space Invaders

Demonstrates an animation loop, collision detection, keyboard input, drawing to the canvas and playing sounds.

![A screenshot of Space Invaders](/space-invaders/screenshot.png)

To read the annotated source, open `/space-invaders/annotated-source/app.html` in your browser.

## Circles bouncing off lines

The code demonstrates some simple trig that calculates the movement of circles as they bounce off lines.

![An animation of circles bouncing off lines](/circles-bouncing-off-lines/screenshot.gif)

To read the annotated source, open `/circles-bouncing-off-lines/annotated-source/app.html` in your browser.

# Annotated code

A series of short, heavily annotated JavaScript programs.

* By Mary Rose Cook
* http://maryrosecook.com
* maryrosecook@maryrosecook.com

## Space Invaders

Demonstrates an animation loop, collision detection, keyboard input, drawing to the canvas and playing sounds.

![A screenshot of Space Invaders](/space-invaders/screenshot.png)

To read the annotated source, open `/space-invaders/docs/app.html` in your browser.

## Circles bouncing off lines

The code demonstrates some simple trig that calculates the movement of circles as they bounce off lines.

![An animation of circles bouncing off lines](/circles-bouncing-off-lines/screenshot.gif)

To read the annotated source, open `/circles-bouncing-off-lines/docs/app.html` in your browser.

Update readme links to docs
Update readme links to docs