“The strongest of all warriors are these two — Time and Patience.” ― Leo Tolstoy, War and Peace
The CodeRanch BeNice rule is in effect for all postings on CodeRanch, so no one is going to laugh.Adrian Grabowski wrote:Ok, so that's how I see it, I'm a newbie so please don't laugh.
The rules and setup for the game are explained in the Wiki article in the first post.Adrian Grabowski wrote:AFAIK Blackjack uses standard 52 card deck.
“The strongest of all warriors are these two — Time and Patience.” ― Leo Tolstoy, War and Peace
“The strongest of all warriors are these two — Time and Patience.” ― Leo Tolstoy, War and Peace
The dealers hand will always be shown face up
“The strongest of all warriors are these two — Time and Patience.” ― Leo Tolstoy, War and Peace
“The strongest of all warriors are these two — Time and Patience.” ― Leo Tolstoy, War and Peace
Pete Letkeman wrote:Moving on to the next part I've started a new thread
-Steven McDonald
Steven Mcdonald wrote:
Pete Letkeman wrote:Moving on to the next part I've started a new thread
Hi Pete, I'm just joining. The linked page has no content.
Also, I've started looking into JavaFX, and already have a working primary scene set up with frames. Does it matter if I attempt this with a GUI?
Also, I have my own Git so when I do have something going should I post the link to it here?
All things are lawful, but not all things are profitable.
-Steven McDonald
“The strongest of all warriors are these two — Time and Patience.” ― Leo Tolstoy, War and Peace
Feel free to use which every display methods/libraries that you want.Steven Mcdonald wrote:I've started looking into JavaFX, and already have a working primary scene set up with frames. Does it matter if I attempt this with a GUI?
This kind of what I had in mind and will try to keep in mind as we go.Knute Snortum wrote:Here's a challenge: if you write the character based game correctly, you should be able to reuse most of it in a JavaFX (or any GUI) program.
“The strongest of all warriors are these two — Time and Patience.” ― Leo Tolstoy, War and Peace
Steven Mcdonald wrote:I still don't see any content in the CodeRanch link for this project though, maybe I'm clicking the wrong link?
All things are lawful, but not all things are profitable.
Knute Snortum wrote:[Edit: Ah! there was an internal problem that kept non-moderators from seeing the post. It's fixed now.]
-Steven McDonald
Steven Mcdonald wrote:I noticed that the code on CodeRanch is implemented differently from mine.
Steven Mcdonald wrote:Also, my Deck class constructs cards from the Card class, is this okay? I'm not to sure about structuring it this way, as everyone always says to aim for loose coupling, and I'm not quite sure if this is considered tight in this case?
“The strongest of all warriors are these two — Time and Patience.” ― Leo Tolstoy, War and Peace
Pete Letkeman wrote:
Steven, my code, right or wrong is not complete or final code.
-Steven McDonald
Ganesh Patekar wrote:I know I'm bit late to the party. I'm reading the Wiki page Pete furnished. I've no idea about cards and all therefore I played an online BlackJack game for a while just to understand how BlackJack game is played.
I've got question, what is this hand about? Is It about a regular player drawing cards? I got that hand's value is the sum of cards a player has drawn. How many hands does a regular player have?
I have never used Github and done Junit testing, I've been reading about them (for now only Github) so could be slower on my side. I've downloaded Github tutorial but It's about command line, what do you advice as I'm beginner, should I use Git GUI based Or command line?
Since this is text based application so this will have menus like hit, stand, double, split etc. for regular player on the console? hope I'm on correct path.
All things are lawful, but not all things are profitable.
Ahh! ,yes we need two hands for a player when split condition is satisfied.Knute Snortum wrote:However, now and then a player can double down and have two hands at once.
Okay will use whichever seems easier at the moment.I don't think this is necessary though. GitHub has a desktop UI and you could use Git from your IDE if you wanted.
Thank youStephan van Hulst wrote:Even for intermediate users, I strongly recommend trying out Learn Git Branching, a great way to learn how to use the command line interface with visual aids.
There will be times where the GUI won't do everything you need to do to get yourself out of a contrived mess, and knowing the CLI is a big help.
Stephan van Hulst wrote:Even for intermediate users, I strongly recommend trying out Learn Git Branching, a great way to learn how to use the command line interface with visual aids.
There will be times where the GUI won't do everything you need to do to get yourself out of a contrived mess, and knowing the CLI is a big help.
[Arguing with an engineer is a lot like wrestling in the mud with a pig. After a few hours, you realize that he likes it] [Learn code first? no we apply to learn programming(or also)first thanks]
Ew. You guys are ugly with a capital UG. Here, maybe this tiny ad can help:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
|