kwanghoon/mastermind
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
The Mastermind Game to guess numbers in your mind. GHCi, version 7.6.3: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. Prelude> :load "Main.hs" [1 of 1] Compiling Main ( Main.hs, interpreted ) Ok, modules loaded: Main. *Main> main How many digits? 4 Enter your choice: y with nothing, or n with bulls and cows (say, n 1 3) [0,0,0,0] ? n 0 0 [1,1,1,1] ? n 2 0 [2,2,1,1] ? n 2 1 [2,1,3,1] ? n 2 2 [1,2,3,1] ? n 0 4 [2,1,1,3] ? y *Main>
About
A mastermind game
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published