MOStermind

17 views
Skip to first unread message

Hans Otten

unread,
Jun 26, 2026, 8:44:10 AMJun 26
to PAL 6502 computer

MOStermind is an implementation of the Mastermind board game for the KIM-1 computer. Developed by HKZ.

It's written in 6502 assembly using DASM assembler and MAME as developing tools.

https://codeberg.org/hkzlab/MOStermind_KIM-1/releases

You can download it here

How to play

The game follows the basic rules of mastermind: the codemaster generates a hidden code and you have to guess it in a limited number

of tries, while the codemaster gives you a report on how much you got right for each guess.

The codes are be composed by 4 symbols, each symbol can be one of the following 8 characters: `A`, `B`, `C`, `D`, `E`, `F`, `G`, `H`.

Note that a character appearing multiple times in a code is perfectly valid.

After you type in the 4 character code and press `RETURN`, the codemaster will analyze your guess and report the result using 4 symbols:

- `O` indicates that one symbol is both the right character and at the correct spot

- `*` indicates that a symbol is a character that appears in the code, but is in the wrong place

- `.` Indicates that a character is not present at all in the code

Note that these are **NON POSITIONAL**, and they're just shown in order of precedence: first `O`, then `*`, then `.`. They bear no

information on which of the characters is right. You'll have to find that yourself.

In case you want to cancel a guess before submitting it (to avoid wasting a try), you can press `BACKSPACE`. The guess submission will

be aborted, no analysis will be performed and you'll be able to submit a new guess.

Does it run on the KIM-1 Simulator? YES!

You only have to set the FOCAL_V3D break setting in the Settings.

logo.pngMOSTERMIND.jpg

GN Liu

unread,
Jun 30, 2026, 11:21:34 AMJun 30
to PAL 6502 computer
Thanks Hans for sharing!!!
Reply all
Reply to author
Forward
0 new messages