Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
poker
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Emanuel Lugo
poker
Commits
c6fc3fec
Commit
c6fc3fec
authored
Apr 27, 2022
by
Emanuel Lugo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Creacion de paquete para Poker2
parent
cd75c322
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
6 deletions
+16
-6
poker/Carta.java
+1
-0
poker/SortbyPalo.java
+1
-0
poker/SortbyValor.java
+1
-0
poker/pokerGame.java
+8
-6
poker2/PokerGame2.java
+5
-0
No files found.
Carta.java
→
poker/
Carta.java
View file @
c6fc3fec
package
poker
;
public
class
Carta
{
public
String
valor
;
...
...
SortbyPalo.java
→
poker/
SortbyPalo.java
View file @
c6fc3fec
package
poker
;
import
java.util.Comparator
;
class
SortbyPalo
implements
Comparator
<
Carta
>
...
...
SortbyValor.java
→
poker/
SortbyValor.java
View file @
c6fc3fec
package
poker
;
import
java.util.Comparator
;
class
SortbyValor
implements
Comparator
<
Carta
>
...
...
pokerGame.java
→
poker
/poker
Game.java
View file @
c6fc3fec
/** */
/** */
package
poker
;
import
java.util.ArrayList
;
import
java.util.*
;
...
...
@@ -83,11 +85,11 @@ public class pokerGame {
pokerGame
poker
=
new
pokerGame
();
String
resultado
;
int
i
;
carta1
=
new
Carta
(
"
K
S "
);
carta2
=
new
Carta
(
"
6
C "
);
carta3
=
new
Carta
(
"
6
H "
);
carta4
=
new
Carta
(
"
6
D "
);
carta5
=
new
Carta
(
"
K
C "
);
carta1
=
new
Carta
(
"
2
S "
);
carta2
=
new
Carta
(
"
2
C "
);
carta3
=
new
Carta
(
"
4
H "
);
carta4
=
new
Carta
(
"
5
D "
);
carta5
=
new
Carta
(
"
5
C "
);
mano
.
add
(
carta1
);
mano
.
add
(
carta2
);
mano
.
add
(
carta3
);
...
...
poker2/PokerGame2.java
0 → 100644
View file @
c6fc3fec
package
poker2
;
import
poker.*
;
public
class
PokerGame2
{
}
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