Skip to content

Commit 38bd421

Browse files
committed
- start player Black
-
1 parent 405299a commit 38bd421

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

js/script.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ function start() {
3939
gm = Snap("#game");
4040
playerW = new Player ("#fff", ["33","44"], "#cce0fc", "scoreW", "pntsW");
4141
playerB = new Player ("#000", ["34","43"], "#bbb7ae", "scoreB", "pntsB");
42-
actualPlayer = playerW;
43-
otPlayer= playerB;
42+
actualPlayer = playerB;
43+
otPlayer= playerW;
4444

4545
var a = ((cW-cH)/2),
4646
aux = (document.documentElement.clientHeight)-cH,
@@ -124,7 +124,7 @@ function start() {
124124
}
125125

126126
}
127-
playerW.inGame();
127+
playerB.inGame();
128128
document.getElementById("33").setAttribute("fill", "#fff");
129129
document.getElementById("44").setAttribute("fill", "#fff");
130130
document.getElementById("43").setAttribute("fill", "#000");

0 commit comments

Comments
 (0)