This post has been republished via RSS; it originally appeared at: Small Basic Blog articles.
I found many Mastermind programs in Small Basic Forum. And I also ported a Mastermind program from Visual Basic to Small Basic. Today, I'd like to introduce them.
6-color (same color not allowed)
This Dutch version of a program (MKR454) was written by boschg and announced in a thread SmallBasic program: Mastermind Full graphic game in 2014. I translated this version to English and published as MKR454-0.
This program is Mastermind solver written by Coopsyp in 2015. And introduced in a thread Nominate games (or other programs) here to get featured on our Blog! (PART 2).
4-color (4/5/6 pegs)
Original Visual Basic version is introduced by .paul. _ in a TechNet Wiki article in 2017. I converted this program from Visual Basic to Small Basic and published as GMV958-0. And I also wrote an TechNet Wiki article Small Basic: Code Conversion From Visual Basic (MasterMind Game).
The program is written by Justaname21 and introduced in Need help with resetting my small basic Mastermind code in 2018. And I modified this program and published as XJJ228.
There are at least 6 Mastermind programs written in Small Basic. I think Mastermind is a medium level to write. How about to write your own Mastermind game? In my case, how to count same color but not same place pegs was little difficult. Have fun with your code!