Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.
/ Elevens Public archive

Replatform ElevensSolitaireOddsCheck

Notifications You must be signed in to change notification settings

Wycott/Elevens

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elevens

Language C# Game

Engine for checking the odds of an Elevens solitaire game being won. It is believed that the game comes out (i.e. the player wins) about 10% of the time.

Rules

For the rules of Elevens, see here: https://en.wikipedia.org/wiki/Elevens

Parameters

Two positional parameters are supported:

  1. The number of games to play in each iteration
  2. The mode (P, N or T) - see below

Example:

ElevensRig.exe 100 P

ElevensRig.exe 5000 N

ElevensRig.exe 250 T

Modes

P - Picture cards are checked first

N - Non-picture cards are checked first

T - Test mode. See the game being played. Stops at the end of the iteration. Alternates between P & N mode.

N.B. modes P & N run forever! Press CTRL-C to stop. Suggest using at least 10 games for each of these modes.


Last updated: 4 December 2023

About

Replatform ElevensSolitaireOddsCheck

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages