Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor + new boxes + balance changes #1

Merged
merged 2 commits into from Jun 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 15 additions & 0 deletions .vscode/launch.json
@@ -0,0 +1,15 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}"
}
]
}
302 changes: 0 additions & 302 deletions game.js

This file was deleted.

9 changes: 5 additions & 4 deletions index.html
Expand Up @@ -3,16 +3,17 @@

<head>
<meta charset="utf-8">
<title> Pong </title>
<script src="allegro.js"></script>
<script src="game.js"></script>
<title>Pong</title>
<script src="js/lib/allegro.js" defer></script>
<script src="js/render.js" defer></script>
<script src="js/Game.js" type="module" defer></script>
<link rel="stylesheet" href="style.css">
</head>

<body>
<canvas id="game_canvas" class="game" width="640px" height="480px"></canvas>
<script>
window.addEventListener("click",this.focus);
window.addEventListener("click", this.focus);
</script>
</body>

Expand Down
3 changes: 3 additions & 0 deletions js/.jshintrc
@@ -0,0 +1,3 @@
{
"esversion": 6
}