Skip to content

Instantly share code, notes, and snippets.

@ashimaathri
Last active August 29, 2015 14:14
Show Gist options
  • Save ashimaathri/d174a04eb29c00161d9c to your computer and use it in GitHub Desktop.
Save ashimaathri/d174a04eb29c00161d9c to your computer and use it in GitHub Desktop.
Step 1 of VTHacks Angry Bird Tutorial
var game;
game = function (world) {
console.log('It works!');
};
Physics(game);
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<canvas id='my-game'></canvas>
<script src='js/physicsjs-full.min.js'></script>
<script src='js/game.js'></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment