Python Forum
CODEBREAKER game - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: General (https://python-forum.io/forum-1.html)
+--- Forum: Code sharing (https://python-forum.io/forum-5.html)
+--- Thread: CODEBREAKER game (/thread-41076.html)



CODEBREAKER game - rob101 - Nov-07-2023

This Python implementation of the game known as UNCLE BERNIE'S CODEBREAKER GAME was written to emulate the original game as closely as possible.

The algorithms that I have created were inspired by Bernie and his explanation of how the original game was coded, for which Bernie has my deepest thanks.

Visit https://www.applefritter.com/content/uncle-bernies-codebreaker-game-apple-1 to read a very detailed account of the original game, by the game author, as well as hints and tips about how to play the game and some screen shots of the game in progress.

There, you will also be able to d/load the Codebreaker game manual (PDF format) as well as source code files that should run on the the Apple-1 and Apple II computers, should you wish to do so.

I have written this Python implementation for those that simply want to play the game without having to run the original binary.

Python dependencies have been kept to a minimum, but in order to have a more authentic experience, I have used the Terminal class object from the blessed library.

For more information on that, please see these links:

https://pypi.org/project/blessed/

https://blessed.readthedocs.io/en/latest/terminal.html

The code is hosted on GitHub