Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
DoNaTio s.r.o.
PiPo
Commits
6a087969
Commit
6a087969
authored
Dec 05, 2014
by
DoNaTio s.r.o.
Browse files
create ball
parent
e3b0ca5d
Changes
2
Hide whitespace changes
Inline
Side-by-side
public/ClientBall.js
View file @
6a087969
...
...
@@ -11,6 +11,8 @@ function ClientBall($el) {
el
:
$el
,
x
:
0
,
y
:
0
,
z
:
0
,
// :)
speed
:
10
,
width
:
20
,
height
:
20
};
...
...
public/index.html
View file @
6a087969
...
...
@@ -40,16 +40,15 @@
<div
class=
"container"
>
<div
class=
"rackets"
>
<div
class=
"racket racket1"
></div>
<div
class=
"racket racket2"
></div>
<div
class=
"racket racket3"
></div>
<div
class=
"racket racket4"
></div>
<div
class=
"racket racket5"
></div>
<div
class=
"racket racket6"
></div>
</div>
<div
id=
"playground"
>
<div
class=
"rackets"
>
<div
class=
"racket racket1"
></div>
<div
class=
"racket racket2"
></div>
<div
class=
"racket racket3"
></div>
<div
class=
"racket racket4"
></div>
<div
class=
"racket racket5"
></div>
<div
class=
"racket racket6"
></div>
</div>
<div
class=
"score"
><span
class=
"team0"
>
0
</span>
:
<span
class=
"team1"
>
0
</span></div>
<div
id=
"ball"
></div>
<div
id=
"table"
></div>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment