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
Tristan MAISONNEUVE
projetS2-2021-23-LJ
Commits
ee245423
Commit
ee245423
authored
Jun 22, 2021
by
Jolan RENOUX
Browse files
maj app3
parent
456b1b50
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Application.java
View file @
ee245423
...
...
@@ -21,6 +21,7 @@ public class Application {
test
.
pack
();
test
.
setVisible
(
true
);
//TODO IHM changer le nom de jaquie
Player
jaquie
=
new
Player
(
"Jaquie"
);
try
{
Network
.
suscribeNewPlayer
(
"http://172.26.82.18//api/v0"
,
jaquie
);
...
...
@@ -33,6 +34,8 @@ public class Application {
//TODO IHM : combobox avec cette liste
//TODO IHM Listener récupérer info partie↑
//TODO Init game soit de nous soit rejoindre
/*
1 si la partie est correctement initiée par le joueur courant ;
-1 si la partie est correctement initiée par un autre joueur ;
...
...
@@ -60,6 +63,7 @@ public class Application {
break
;
case
-
10
:
System
.
out
.
println
(
"-10 ce n'est pas au joueur courant de jouer"
);
//rien a faire, attend ton tour
break
;
case
100
:
System
.
out
.
println
(
"100 la partie est gagnée par le joueur courant"
);
...
...
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