Click here to Skip to main content
15,887,214 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: speedy recall Pin
rnbergren15-Apr-23 2:09
rnbergren15-Apr-23 2:09 
GeneralRe: speedy recall Pin
Slow Eddie15-Apr-23 2:11
professionalSlow Eddie15-Apr-23 2:11 
JokeRe: speedy recall Pin
englebart15-Apr-23 3:48
professionalenglebart15-Apr-23 3:48 
GeneralRe: speedy recall Pin
jmaida15-Apr-23 13:05
jmaida15-Apr-23 13:05 
GeneralRe: speedy recall Pin
DrWalter PE15-Apr-23 4:55
professionalDrWalter PE15-Apr-23 4:55 
GeneralUnexpected results when playing against the pc my "Schafkopf" game! Pin
Jo_vb.net14-Apr-23 7:14
mvaJo_vb.net14-Apr-23 7:14 
GeneralRe: Unexpected results when playing against the pc my "Schafkopf" game! Pin
PIEBALDconsult14-Apr-23 12:30
mvePIEBALDconsult14-Apr-23 12:30 
GeneralRe: Unexpected results when playing against the pc my "Schafkopf" game! Pin
TNCaver14-Apr-23 15:33
TNCaver14-Apr-23 15:33 
Back in the days of FidoNet when dinosaurs roamed the earth, I wrote a dice game for BBS's called Greedy* -- my friends and I called the real game either Greedy or 9-Dice -- in which a player would play against the computer opponent. I programmed it to play an average player's game in it's decision tree, and the random dice throws were calculated by the same routine for both the computer and the human.

Quite often in a game, whether with real dice or in my app, you might have to decide if you wanted to risk throwing the remaining dice and lose any points you had racked up that round or take the points and pass the dice. Kind of like Blackjack where you're sitting on 15 or 16 but the dealer is showing an ace or face card. Do you draw or call?

Anyway, that decision for the computer was also randomized, and yet I was always surprised how often the computer would be way behind, the player is close to winning (which did increase the weight of that decision toward risking it), and when it decided to go with the risk it rolls enough points to come from behind and win. I did not program it that way, though I had a few ask people me if I did. Laugh | :laugh:
  • almost identical to a game called Farkl that you can play on Facebook--I did not write that one
There are no solutions, only trade-offs.
   - Thomas Sowell

A day can really slip by when you're deliberately avoiding what you're supposed to do.
   - Calvin (Bill Watterson, Calvin & Hobbes)


GeneralRe: Unexpected results when playing against the pc my "Schafkopf" game! Pin
englebart15-Apr-23 3:54
professionalenglebart15-Apr-23 3:54 
GeneralRe: Unexpected results when playing against the pc my "Schafkopf" game! Pin
Jo_vb.net15-Apr-23 4:07
mvaJo_vb.net15-Apr-23 4:07 
GeneralRe: Military Docs Leak Pin
Gerry Schmitz14-Apr-23 5:25
mveGerry Schmitz14-Apr-23 5:25 
GeneralRe: Military Docs Leak Pin
OriginalGriff14-Apr-23 5:35
mveOriginalGriff14-Apr-23 5:35 
GeneralRe: Military Docs Leak Pin
Sander Rossel14-Apr-23 5:42
professionalSander Rossel14-Apr-23 5:42 
GeneralRe: Military Docs Leak Pin
Gerry Schmitz14-Apr-23 12:18
mveGerry Schmitz14-Apr-23 12:18 
GeneralRe: Military Docs Leak Pin
TNCaver14-Apr-23 15:34
TNCaver14-Apr-23 15:34 
GeneralRe: Military Docs Leak Pin
Slow Eddie15-Apr-23 2:15
professionalSlow Eddie15-Apr-23 2:15 
JokeRe: Military Docs Leak Pin
Daniel Pfeffer14-Apr-23 5:40
professionalDaniel Pfeffer14-Apr-23 5:40 
GeneralRe: Military Docs Leak Pin
jmaida14-Apr-23 13:22
jmaida14-Apr-23 13:22 
GeneralRe: Military Docs Leak Pin
TNCaver14-Apr-23 15:39
TNCaver14-Apr-23 15:39 
GeneralRe: Military Docs Leak Pin
charlieg16-Apr-23 4:10
charlieg16-Apr-23 4:10 
GeneralRe: Military Docs Leak Pin
jschell17-Apr-23 6:27
jschell17-Apr-23 6:27 
GeneralRe: Military Docs Leak Pin
charlieg18-Apr-23 7:52
charlieg18-Apr-23 7:52 
GeneralGoogle, google ... :sigh: Pin
OriginalGriff14-Apr-23 4:32
mveOriginalGriff14-Apr-23 4:32 
GeneralRe: Google, google ... :sigh: Pin
RickZeeland14-Apr-23 7:21
mveRickZeeland14-Apr-23 7:21 
GeneralRe: Google, google ... :sigh: Pin
dandy7214-Apr-23 10:32
dandy7214-Apr-23 10:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.