• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Black Jack program

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HELLO!
Can someone please help me to construct a Black JAck program???
thanx for the help!
 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
why don't you start making the program and if you encounter some probs maybe we can help u with the prob
 
Alexander Skagerlind
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't know how to start???
well I know how u make the window but then I am stuck
so maybe you can give some help?
 
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Know how to write window - doesn't help !
You may begin with:
- class that represent card.
- think about how to save cards. (for example in vector).
- rules of the game.
- main program.
- how to use random generator to the game
......
The steps can be done witout any gui at all, all gui is
System.out.println(...)
Good luck !
 
Alexander Skagerlind
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don�t get it maybe I am stupid,
so could you please give me the source code so I can have a look at it
�nd then I will try to understand it?
thanx
 
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Nice Try!
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Alexander Skagerlind:

so could you please give me the source code. . .


If you are just curious about Java, writing a non-trivial GUI program is a recipe for frustration. Like Igor suggested, try doing it as a command-line program. If this is a homework assignment and you have to use a GUI, shame on you for trying to cheat!
In any case, all things Java can be learned through the Java Tutorial. Plenty of examples there.
 
Rocky Summers
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
tsk tsk tsk...


he.. he..
 
Alexander Skagerlind
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Wellto start with this is not a homework assignment and Iam only curious of hoe it works,therefore I ask you guys who knows if you can help me with the source code so I can understand how it works.
thanx
 
Joe Ess
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Alexander Skagerlind:
. . .if you can help me with the source code so I can understand how it works.
thanx


Asking for source code is a red flag that you are a student looking for something to copy. We will gladly discuss designs and algorithms, as Igor did first off, steer you to useful resources like the Java Tutorial as I did, help you with any problems in your own code when you post it, or mock you for being lazy. If you want to learn to program, start reading the tutorial and writing code. If you just want to look at code, try finding an open source card program. Even if someone had written a Blackjack game I doubt they'd post the source without some extraordinary effort on your part.
reply
    Bookmark Topic Watch Topic
  • New Topic