Commit 4a0edd5e authored by Monika's avatar Monika
Browse files

set correct position on start for rackets + fix position of ball according who is on serve

parent ab02536e
......@@ -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,
......
......@@ -61,7 +61,6 @@ module.exports = function (PlayersColliction, Score) {
}
}
_score.setResetTeam(_whichTeam);
return this.getNext();
}
};
......
const END_SCORE = 11;
const END_SCORE = 3;
// Setup basic express server
var express = require('express');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment