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
Nahuel Mereles Rodriguez
poker
Commits
3cf64b53
Commit
3cf64b53
authored
Apr 27, 2022
by
Nahuel Mereles Rodriguez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Comprobaciones hechas
parent
ef86bf02
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
12 deletions
+24
-12
Carta.java
+10
-12
Jugada.java
+0
-0
Poker.java
+14
-0
No files found.
Carta.java
View file @
3cf64b53
public
class
Carta
{
public
String
valor
;
public
String
palo
;
public
Carta
()
{
}
public
Carta
(
String
completo
)
public
String
valor
;
public
String
palo
;
public
Carta
()
{
}
public
Carta
(
String
completo
)
{
this
.
valor
=
String
.
valueOf
(
completo
.
charAt
(
0
));
this
.
palo
=
String
.
valueOf
(
completo
.
charAt
(
1
));
}
String
valorPalo
()
{
return
this
.
valor
+
this
.
palo
;
}
//aa
}
Jugada.java
0 → 100644
View file @
3cf64b53
This diff is collapsed.
Click to expand it.
Poker.java
0 → 100644
View file @
3cf64b53
public
class
Poker
{
public
static
void
main
(
String
[]
args
)
{
// --------------------------------------
Carta
carta1
=
new
Carta
(
"AC"
);
Carta
carta2
=
new
Carta
(
"2C"
);
Carta
carta3
=
new
Carta
(
"3S"
);
Carta
carta4
=
new
Carta
(
"5C"
);
Carta
carta5
=
new
Carta
(
"4C"
);
Jugada
jugada1
=
new
Jugada
();
jugada1
.
ejecutarComprobaciones
(
carta1
,
carta2
,
carta3
,
carta4
,
carta5
);
jugada1
.
imprimirResultado
();
}
}
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