# Code Introduction

This Video Game Code Guidebook is a supplement to the [Video Game Project Guidebook](https://docs.idew.org/project-video-game/).

## What's in this Guidebook?

This guidebook contains a series of **video game code tutorials** to help you get familiar with programming games using the Phaser CE game framework.

In addition, this guidebook contains **coding references** to explain how to use Phaser CE code to create a game world and add various features to the gameplay.

Finally, this guidebook also contains **links to external resources**, such as the Phaser CE API code reference, Phaser CE code examples, and online tools for creating game assets, such as animated sprites and sound effects.

{% hint style="info" %}
**HOW TO COPY CODE:**  In this guidebook, you can click the **copy icon** displayed in the upper right of a code block to copy all the code to the clipboard for pasting.
{% endhint %}

```javascript
// example code block
var game = new Phaser.Game(800, 600, Phaser.AUTO, 'my-game',
  { preload: preload, create: create, update: update });
```

## Copyright and License

Copyright © 2015-2025 by Jim Lyst and Michael Frontz, Indiana University Luddy School of Informatics, Computing, and Engineering at Indianapolis.

This work is licensed under a [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License](http://creativecommons.org/licenses/by-nc-sa/4.0/). You are free to use, share, or adapt this material for noncommercial purposes as long as you provide proper attribution and distribute any copies or adaptations under this same license.

[![Creative Commons License](https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png)](http://creativecommons.org/licenses/by-nc-sa/4.0/)
