Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
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
4a0edd5e
Commit
4a0edd5e
authored
Dec 25, 2014
by
Monika
Browse files
set correct position on start for rackets + fix position of ball according who is on serve
parent
ab02536e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Score.js
View file @
4a0edd5e
...
...
@@ -19,9 +19,6 @@ module.exports = function(Ball, playgroundDimension){
increaseScoreTeam1
:
function
(){
attributes
.
team1
++
;
},
setResetTeam
:
function
(
resetTeam
)
{
attributes
.
resetTeam
=
resetTeam
;
},
getScore
:
function
(){
return
{
team0
:
attributes
.
team0
,
...
...
WhoIsOnServe.js
View file @
4a0edd5e
...
...
@@ -61,7 +61,6 @@ module.exports = function (PlayersColliction, Score) {
}
}
_score
.
setResetTeam
(
_whichTeam
);
return
this
.
getNext
();
}
};
...
...
server.js
View file @
4a0edd5e
const
END_SCORE
=
11
;
const
END_SCORE
=
3
;
// Setup basic express server
var
express
=
require
(
'
express
'
);
...
...
Write
Preview
Markdown
is supported
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