Beginning Python Programming – Code Breaker

Welcome… this is a simple example of some basic python commands that creates a code breaking game. The explanation lines have been commented out so you can simply copy and paste the whole document into IDLE (or similar) and see it working, or print to use as a help guide. The task can be extended to include a longer code, different scoring systems, characters instead of numbers, password guesses or allow one player to enter a code that the other has to guess then swap turns… and loads more!

(If you find the resource useful, please leave a review as it helps other teachers find it)

HackDragn

Free

Save for later
  • Python-Programming-Hints---Code-Breaker.docx

About this resource

Info

Created: May 23, 2018

Updated: Jul 15, 2019

Worksheet

docx, 15 KB

Python-Programming-Hints---Code-Breaker

Report a problem

Creative Commons "Sharealike"

Creative Commons "Sharealike"