Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
MilderJoghurt
FrozenNumbers
Commits
6b66dad5
Commit
6b66dad5
authored
Jan 21, 2016
by
MAhrens
Browse files
Win/Lose based on points
parent
a5a99a21
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/src/org/milderjoghurt/frozennumbers/screens/GameOverScreen.java
View file @
6b66dad5
...
...
@@ -97,7 +97,7 @@ public class GameOverScreen implements Screen {
String
p1String
=
new
String
();
String
p2String
=
new
String
();
/*
if (p1 > p2) {
if
(
p1
>
p2
)
{
p1String
=
"WIN"
;
p2String
=
"LOSE"
;
}
...
...
@@ -108,14 +108,14 @@ public class GameOverScreen implements Screen {
if
(
p2
==
p1
)
{
p1String
=
"DRAW"
;
p2String
=
"DRAW"
;
}
*/
if
(
winner
.
lower
){
}
/*
if (winner.lower){
p1String = "WIN";
p2String = "LOSE";
} else{
p2String = "WIN";
p1String = "LOSE";
}
}
*/
// Draw Players Results
Table
container
=
new
Table
();
...
...
Write
Preview
Supports
Markdown
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