Skip to content

Instantly share code, notes, and snippets.

@samilkorkmaz
Last active June 3, 2020 18:29
Show Gist options
  • Save samilkorkmaz/4d1840e61462a77a763bc9aa60c44bc8 to your computer and use it in GitHub Desktop.
Save samilkorkmaz/4d1840e61462a77a763bc9aa60c44bc8 to your computer and use it in GitHub Desktop.
HTML skeleton for JavaScript Breakout game
<!DOCTYPE html>
<html>
<head>
<title>Breakout</title>
<style>
canvas { background: lightgray;}
</style>
</head>
<body>
<canvas id="myCanvas" width="400" height="300"></canvas>
<script src="script1.js">
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment