Close

Mastermind in 177 bytes

A project log for Gigatron TTL microcomputer

Just because! A home computer without microprocessor

marcel-van-kervinckMarcel van Kervinck 02/22/2020 at 12:210 Comments

Typed in from this 1976 Dr Dobbs article. Worked first time.

Except that we don't do decimal mode and Woz used that to increment the "tries" counter on the left side. So you better win the game in less than 10 tries (or accept a hexadecimal count).

If we sacrifice 13 more bytes, we can get the correct try count without using BCD mode:

190 bytes works for me.

Discussions