Skip to content

Instantly share code, notes, and snippets.

@kahilkubilay
Last active December 26, 2019 22:22
Show Gist options
  • Save kahilkubilay/4d4762252b32accddc13005c68defdfc to your computer and use it in GitHub Desktop.
Save kahilkubilay/4d4762252b32accddc13005c68defdfc to your computer and use it in GitHub Desktop.
Javascript ile Oyun Yapımı: Oyun Alanı
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Ping Pong With Javascript</title>
<style type="text/css">
@import'main.css';
@import'reset.css';
</style>
</head>
<body>
<div id="gameArea">
<div id="stickLeft" class="stick"></div>
<div id="stickRight" class="stick"></div>
<div id="line"></div> <div id="ball" class="ball"></div> <div id="scoreboard">
<div id="scoreLeft">0</div>
<div id="scoreRight">0</div>
</div>
</div>
<script src="main.js" type="text/javascript"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment