3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Arduino and Touchpad Tic Tac Toe

Step 8Remarks and further improvements

Here a video showing the one player mode, with the program playing totally random moves:



The program shown here is only a minimal, bare bones version.  Many other things can be done with this:

1) Lighting up LEDs three at a time
The current code displays only one LED at once.  However, with the wiring shown here, it's possible to light up all the LEDs connected to one cathode line at the same time.  So, instead of cycling through all the nine positions, all you need to do is cycle through the three cathode lines.

2)  Use interrupts to display the LEDs
Depending on the LED display routine and the amount of processing, the LEDs may show some degree of flickering.  By using interrupts, the timing of the LEDs can be controlled precisely and would lead to a smoother display.

3) A smarter computer player
The currrent code takes up only a few kb, leaving quite a bit more for the implementation of a smarter computer tic tac toe player.

Hope you've enjoyed reading this instructable as much as I had fun working on it!
 

« Previous StepDownload PDFView All StepsNext Step »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
8
Followers
3
Author:origamiwolf