I’ve been watching cryptography videos again on Khan Academy. In doing so, I created this puzzle. But don’t worry about it. It’s really hard, even with the hints I provide.
Tag Archives: challenge
Thanks for the inspiration, Regina.
It Came From Under the Bed
His breath held painfully as fretful fingers climbed the bedstand lamp for the switch. Below, old homework papers crunched slowly. Ominously.
“Skipper…?” The dog’s name was little more than a slow exhale.
“Please be Skipper.”
He gagged on the warm, unlikely relief of dog fart.
In the interim between the Fall and Spring semesters, I’ve been letting the WordPress 365 Days of Writing Prompts to guide my posts. Today’s prompt asks us to consider a quote that you come back to again and again – and consider why it moves you.
Although I don’t think that I’ve kept this quote specifically on my mind, it is one that I consider close to my heart. Perhaps I’ll come back and comment later about what this means to me, so long as some of you share first.
“A person who won’t read has no advantage over one who can’t read.”
Take a moment to think about who you think might have said this before clicking here to find out. While you’re at it, let me know what it means to you and who you thought it was if you didn’t get it right.
I’ve received several entries answering my coding challenge to demonstrate / test Goldbach’s Conjecture that all even numbers > 4 are the sum of two primes. So far python has been the language of choice for entries.
I will be closing down this challenge as of June 30 at 11:59pm.
Once I take a look at the entries, I’ll award the prize, a copy of my iBook, In Parts to the winner and post the code here with a walkthrough to show how the problem was tackled as well as any interesting comparisons between entrants.
So, here’s the challenge:
In any language, write a MasterMind game where the computer chooses the numbers and the user deduces them.
1. use numbers (four of them,#s1-4, randomly chosen by the computer), rather than colors
2. that allows multiple uses of the same numbers, i.e. ‘1122’
3. provides appropriate feedback to the user to help them close in on the correct sequence.
4. keeps track of the number of turns taken
5. (optional) can also be played with 2 users -or- user sets the code and computer guesses
6. (optional) allow user to select # of positions and range of numbers used.