-
Blackjack
i have programed blackjack it works but i know there is a better way of doing it. Does anybody know where i can find source code for a simple game of blackjack.
i was once told that the best way to learn is to try it yourself, then find out how to do it right. then do it right yourself
-
> i have programed blackjack it works
Good job :)
> but i know there is a better way of doing it
So do it then.
Having written a program once, it's usually pretty easy to decide that some bits could have been done better.
> Does anybody know where i can find source code for a simple game of blackjack.
Your harddisk would be my first guess :p
Or perhaps here
> i was once told that the best way to learn is to try it yourself
This is true.
Why not post your attempt for others to comment on?
> then find out how to do it right
There isn't a single 'right' way to do any program. Various implementations may be smarter, faster, smaller; but that doesn't make any one of them more 'right' than the others.