Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
David LELIEVRE
projetS2-15-AL
Commits
9c9e7008
Commit
9c9e7008
authored
Jun 25, 2021
by
E201139E
Browse files
Merge branch 'main' of
https://gitlab.univ-nantes.fr/E200206Q/projet-tutore
into main
parents
f3d852fb
c57b517e
Changes
2
Hide whitespace changes
Inline
Side-by-side
game_infos.json
View file @
9c9e7008
{
"pseudo"
:
177013
p
joue
:
75
p
joue
:
81
p
gagne
:
2
p
perdu
:
8
}
\ No newline at end of file
src/controleur/ButtonGrilleHautControleur.java
View file @
9c9e7008
...
...
@@ -53,11 +53,11 @@ public class ButtonGrilleHautControleur implements ActionListener{
for
(
Player
p
:
Network
.
listActivePlayers
(
HTTP_LOCALHOST
)){
String
[]
n
=
p
.
getName
().
split
(
":"
);
boolean
init
=
log
.
getPL
()
!=
log
.
getG
().
getInitiator
();
String
s
=
log
.
getG
().
toString
()+
init
+
log
.
getCompt
();
if
(
n
.
length
==
3
){
String
s
=
log
.
getG
().
getInitiator
().
getName
()+
init
+
log
.
getCompt
();
if
(
n
.
length
==
2
){
//System.out.println("1:"+n[0]+n[1]+"\n2:"+s);
if
(
n
[
0
]
+
n
[
1
]
==
s
){
log
.
tir_recu
(
n
[
2
],
recup
);
if
(
n
[
0
]
==
s
){
log
.
tir_recu
(
n
[
1
],
recup
);
}
}
}
...
...
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