# The Grey Labyrinth is a collection of puzzles, riddles, mind games, paradoxes and other intellectually challenging diversions. Related topics: puzzle games, logic puzzles, lateral thinking puzzles, philosophy, mind benders, brain teasers, word problems, conundrums, 3d puzzles, spatial reasoning, intelligence tests, mathematical diversions, paradoxes, physics problems, reasoning, math, science.

 Skinny's Casino - Solution! Goto page Previous  1, 2
Author Message
ComputerHacker
Guest

 Posted: Wed Nov 05, 2003 8:01 am    Post subject: 41 Correction: that's 2280/8000 = 28.5%
Austinap
Guest

 Posted: Sat Nov 08, 2003 8:17 pm    Post subject: 42 Playing the game as it is, you have about a 29% chance of winning any given hand (figured this out by brute-force looping with javascript).... but if you change the game so that you win ties (i.e. he rolls a 10 and a 15, you roll a 15... you get paid) then you have nearly a 40% chance of winning now, a significant differant, but not enough. heres my code: win = 0; loss = 0; // total = win + loss for (i = 1; i <= 20; i++){ // first dice for(j = 0; j <= 20; j++) { // second dice for(y = 1; y <= 20; y++){ // your dice if((y >= i) && (y <= j)){ win += 1; }else if((y >= j) && (y <= i)){ win += 1; }else{ loss += 1; } } } } odds = 100*(win/(win+loss)); alert(win + " wins"); alert(loss + " losses"); alert(odds + "% odds of winning any given hand");
Austinap
Guest

 Posted: Sat Nov 08, 2003 8:21 pm    Post subject: 43 NOTE: in the above post change the <= and >= to just < or > to test the game "as is".
 Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year by All usersAnonymousBeartalonBicho the InhalerChienFougopowerhcumminsJingle47kevinatilusaKuttiLeptonmathgrantPatient0pokerfacedSamadhiSnailsodasipperSugaar Oldest FirstNewest First
 All times are GMTGoto page Previous  1, 2 Page 2 of 2

 Jump to: Select a forum Puzzles and Games----------------Grey Labyrinth PuzzlesVisitor Submitted PuzzlesVisitor GamesMafia Games Miscellaneous----------------Off-TopicVisitor Submitted NewsScience, Art, and CulturePoll Tournaments Administration----------------Grey Labyrinth NewsFeature Requests / Site Problems
You cannot post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum