How I Made A Chicken Play Tic-Tac-Toe🐔 - A True Story

in #life7 years ago (edited)

Could you beat a chicken at Tic-Tac-Toe?

A Chicken? Seriously?


"I was eating in a Chinese restaurant downtown. There was a dish called Mother and Child Reunion. It's chicken and eggs. And I said, I gotta use that one."
- Paul Simon -


The year was 1977.

My chicken machine adventure started innocently enough.

It all began when an engineer I worked with asked a question.

"How'd you like a little side job?"

Joel and I worked for a small company in Rose Canyon. I had only been at Sym-Tek for a month or two. It must have been long enough for Joel to have come to respect my programming skills.

Table of Contents

A Chicken? Seriously?
Image courtesy of Idella Maeland and http://unsplash.com

I was foolish enough to take the bait.

"What did you have in mind?" I asked.

Sym-Tek was Joel's day job. But he was a moonlighter...

By night, Joel ran Cove Electronics, a small consulting operation in El Cajon.

"I have to get a chicken to play tic-tac-toe," Joel replied. "You're going to write the software to make that happen."

It seems that Joel had signed a contract to deliver a "chicken machine."

Table of Contents

Don't Stop The Carnival...
Image courtesy of Tim Gouw and http://unsplash.com

What in the world is a chicken machine?

The machine was to be a custom device that would make the rounds of county fairs and carnivals. That machine, or one like it, eventually made it to Las Vegas.

Table of Contents
How large is a chicken brain?
Image courtesy of Pete Linforth and http://pixabay.com

Have you ever met
a chicken psychiatrist?

Seriously, that's a real thing. It was up to the chicken psychiatrist to train the chicken to operate the machine.

That may not have been as hard as it may sound; you see, the chicken didn't really know how to play tic-tac-toe. The chicken psychiatrist trained the chicken to peck at a flashing light.

When it pecked the light, tripping a switch, the chicken was rewarded with a few grains of corn.

That's right; the bird worked for chickenfeed.

So did I, for that matter. Joel had promised me a hundred bucks on completion of the job. That's $400 in 2017 dollars. Not the road to riches, but a nice chunk of change for a young father with a growing family.

I didn't really care.

It was my first consulting gig ever.

Even more important, it was a fun project, a real kick.

Table of Contents
One tough opponent...
Image courtesy of Erwin Bosman and http://pixabay.com

I was programming an 8080 microprocessor. This was the same Intel chip that launched the microcomputer revolution in the Altair 8800 computer.

I had my work cut out for me.

Speaking now as the computer:

I received a "start" signal when the player dropped a coin in the box. I had to light nine independent "O"s for the chicken moves, and nine "X"s for the human moves.

The chicken always played first. At appropriate times, I blinked a light to prompt the chicken to make its move.

When the chicken pecked at the light, a switch tripped and I stopping the blinking. The player then selected his move by pressing one of nine pushbuttons, which I had to "de-bounce" and note the player's move.

After each game was completed, I triggered a solenoid to release a few grains of corn — the chicken's reward for playing.

Table of Contents
Let's Play Tic-Tac-Toe!
Image courtesy of OpenClipart-Vectors and http://pixabay.com

I also continuously blinked the same "X" and "O" lights between games — now representing the outcome of the last — to attract the next sucker player.

Did the chicken really play?

Well, yes it did. My sense of honesty required it. But, How?

While waiting for the chicken, I kept the computer in a loop, counting possible moves. When the chicken pecked at the flashing light, I had the computer register the current move as the chicken's choice.

There were two selectable modes:

"Chicken Never Loses" and "Player Might Win." The mode was selected by a switch in the back of the machine, accessible only to the machine owner/operator.

In "Chicken Never Loses" mode, the computer would only allow the chicken to make "smart" moves. However, in "Player Might Win" mode, the computer allowed the chicken a wider range of choices.

Table of Contents

Joel built the circuitry...
Image courtesy of Steven and http://pixabay.com

Sometimes, those choices turned out to be brilliant.

Surprisingly, the chicken won more often in the "Player Might Win" mode of operation! So much for conservative strategies. Frustrated players would keep dropping quarters into the machine, hoping to recover from being embarrassed in front of their girl friend.

The job was finally finished.

While I don't remember exactly how much time I spent, I know it was a lot.

After all was said and done, I think Joel felt a little guilty about that. When he handed me a check, my jaw dropped.


Table of Contents

My check included a bonus. (Original image, @creatr)

The check was made out for $200.

"Hey Joel! You told me this was a $100 job."

"Yeah, but it took a lot longer than I expected. You did a great job. You deserve it."

"Thanks!"

I guess I made out alright.

That's almost a grand in 2017 dollars... plus whatever I earn from writing this story. 😉 (You are going to help me make this go viral, right? Send it right to the top of the trending list?)

Apparently, a Tic-Tac-Toe playing chicken is quite a curiosity.

Enough so that machines like this have proliferated. Videos of their operation have been preserved for posterity. I believe that the video below may be one of the original machines that Joel built and that I programmed. If not, it is a very close descendant.

In the video, you can see most of the machine operations that I've described.

Enjoy!


~FIN~

LOOK! Check out our amazing product:
>>CLICK HERE!<<


Thanks for your time and attention.
You are why I'm here on Steemit!
I have very eclectic interests and hope, over time, to write about them all.


⬇️To Check Out @creatr's World⬇️CLICK Each Image Below⬇️

@creatr @creatr @creatr
Sort:  

Lol, never seen this before. Who would think they could outsmart @creatr? ;)

Glad I could show you something new... ;)

I actually played against a chicken at a place called "rawhide" back in Arizona when I was a kid. They had the chicken in a booth in an area kind of like a petting zoo with goats, chickens that were loose, sheep, pigs, and rabbits. It was a cool little thing. They shut it down because the PC people came through and they moved rawhide to chandler. But, I forgot all about that until this post. LOL
This whole time I thought I was dumber than a chicken...

Rawhide still exists (in Chandler), sadly the chicken didn't make it past lunch ;)

Hahahahahaha! :D

Naw, just dumber than a microprocessor running at umpty-megahertz... ;)

Gotta look out for those PC people! :D

I actually did read all. Couldn't stop. Saw the upvote at 1..when I finished reading it was at 10. So I'm number 11. Captivating chicken and programming story. Now I can answer why the chicken pecked on the light question now confidently. Thanks to you :)

You can even hear the solenoid click at the end of the video... dropping the corn into the chicken's feeding trough.

Thanks for reading and commenting! :) I suspect the other votes were the 'bots that help me out. ;D

And the bots are here with us. Lol. That's a good programming challenge.

You always have fascinating stories and this my friend is one of them. True you did not make chicken feed. I could certainly think of the humoresque comments from this subject. However it amazes me what things folks come up with to entice the public's pocket book. A chicken machine with the smart chicken would sell to a carnival crowd. Good marketing. I have been doing a bunch of posts too that you my enjoy. And you still have a copy of the check. Well that was a good read and something to pluck about. Amazing video. Smart chicken! Thanks again Creatr. -

Thanks, Troy, for reading and commenting.

Can you tell I'm something of a pack-rat? ;)

Indeed you are. Life does that. Teachers and ministers are known for that. I try to be a pack rat of information, however with the death of family member it lends itself to material items as well. I find what I have saved in my files can be used here in blogs for others to enjoy. Again a good story.

I remember in the late 70s my dad came home from work on a Friday in the greatest mood. He got a $50 bonus! That was a lot of money back in those days since gas was only about $.60/gal. We went to the fair, it was pretty much a great memory! Steem On!

Yeah, the dollar isn't what it used to be... Thanks to "quantitative easing" aka INFLATION aka robbery by the (not so) Federal Reserve...

They are in business to make money. I know, the Mint does that but it wasn't funny. ;)

So coincidental that you're writing on this topic and that you actually developed the game! I, for the first time learned about the Two Creative Chicks who have special piano keyboards for chickens to train and play songs on, among their 'talents'. It's the little things. (Like your paycheck)

Hmmm, I had never heard of Two Creative Chicks before today...

Thank you, I think? ;)

Just google or go on YouTube - they were on some late night talk show too and even do birthday parties and events - skillful chickens galore!

Yes, thanks, I already did yesterday...

They are using the same "trick," essentially... training the chickens to peck at a flashing light.

They are probably making a lot more $$$ than the chicken machines did! ;)

Bwa hahhahahaaa!!!! That was the BEST EVER!! Omg I have never seen or heard of this before you made my kids and my night!!!!

So happy to bring smiles to your faces! ;) :D

Wow you must be super famous in the chicken world, you'll be teaching them how too surf next haha :)

Hahahahaha! A surfing chicken! That would be rich... ;)

You get a chicken to surf you would be rich lol :)

well, I have a chipmunk, Alvin, who plays a game with me. I give him nuts and see if he comes when called. He hasn't so far, but each day the nuts are gone. So far, the chipmunk is winning :)

Alvin... Good name for a 'munk!

We vacationed in a mountain cabin a few years ago, and a big, healthy squirrel came calling on the back porch. He managed to talk us out of some snacky stuff... ;)

such scammers! Lately, he's been coming up to the walkout door (I often write at the kitchen table even though I have a fine office). Well, he's figured out how to let me know when he's out and about, so maybe he doesn't come when called, but prefers to do the calling himself ..lol

Hahahahaha! Sounds as if he keeps you on a short leash... ;)

So, it's nice to learn that I'm not the only one who enjoys a change of venue when writing? :D

I had no idea this was even a thing. You are right it would be so embarrassing to get beaten by a chicken you would want to try again. I wonder how much money that made overall.

That’s why I never play games at a fair the house advantage is just way to high : )

Yeah, avoiding the games at the fair is a good policy! Just like casinos; the house (mostly) wins...

Coin Marketplace

STEEM 0.20
TRX 0.14
JST 0.030
BTC 67408.93
ETH 3491.49
USDT 1.00
SBD 2.70