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
Something went wrong, please try again later.
This resource hasn't been reviewed yet
To ensure quality for our reviews, only customers who have downloaded this resource can review it
Report this resourceto let us know if it violates our terms and conditions.
Our customer service team will review your report and will be in touch.