Tic-Tac-Toe

C++
Backstory

University pair project. This was an open ended project where the only constraint was to use the Arduino micro controller in some way. So what we did was some kind of Morse Code style communication protocol. We used it to communicate player moves.

Geeky Stuff

We started with slow light impulses, i.e. light on for 1 second, off for 1 second and on for 1 second again. Turned out these controllers are actually quick for these kinds of things, so we managed to push the delay way down to be basically instantaneous.
That was the highlight of the project, the rest was all about encoding and decoding messages and turning off the lights in the room whenever we ran the game.
The video explains the rest quite well, so do watch it.

How you can run this

How to use the program

1. put the two Arduinos one next to the other 2. Turn off the lights 3. Play the naughts and crosses game

Thoughts

You could use this same protocol with any kind of medium, could be sound, lasers and other things i cannot think of at the moment, just replace the transmitters and receivers with whatever suits you.

Acknowledgements

N/A