Computer Science Canada

Making an LED Turing Game?

Author:  vdemons [ Sat May 07, 2011 3:50 pm ]
Post subject:  Making an LED Turing Game?

Well my computer technology teacher want us to make us a computer game using Turing,
the tough part is that he wants us to make it manipulate LEDs through a parallel port.
He also want us to be ambitious with it but i am having trouble thinking of ideas that would be ambitious
but still doable for a novice such as myself. I have been thinking of making a Tic-Tac-Toe game where
if you click a box while being circle a red LED lights up on a grid attached to a bread board and the
same goes for X just with a green LED. However, i think it maybe too complicated, so do you guys
have any good projects ideas that are doable for someone like me, and if its not to much trouble how I
might start off with it.

P.S. Thank you in Advance Very Happy

Author:  RandomLetters [ Sat May 07, 2011 8:02 pm ]
Post subject:  RE:Making an LED Turing Game?

There's one problem with tictactoe: the number of outputs you can easily use with a parallel cable easily (since you said you were a novice, probably not 18).

How about that memory game where you watch a pattern and then the player tries to repeat it from memory?

Or, the reversi-like game where there;s a pattern of black and white on a board, and you select one square and it flips it and the squares next to it in a cross, until you get all lights off.

Or, you could try global thermonuclear war.

Author:  Tony [ Sat May 07, 2011 8:12 pm ]
Post subject:  RE:Making an LED Turing Game?

There are 8 pins -- parallelput, meaning you can encode 2^8 == 256 states

Author:  RandomLetters [ Sat May 07, 2011 8:20 pm ]
Post subject:  RE:Making an LED Turing Game?

Or 8, independent, LEDs.

Author:  mirhagk [ Sat May 07, 2011 10:20 pm ]
Post subject:  RE:Making an LED Turing Game?

Well what you could do is use a flip flop to store whether a light is on or not, then use something (someone help with the the name of it) that transforms 4 inputs into 16 outputs so that for each unique input, a different output will turn on.

Author:  Tony [ Sat May 07, 2011 11:26 pm ]
Post subject:  RE:Making an LED Turing Game?

demultiplexer http://en.wikipedia.org/wiki/Multiplexer#Digital_demultiplexers

Author:  mirhagk [ Sun May 08, 2011 1:57 pm ]
Post subject:  RE:Making an LED Turing Game?

That's the word, thanks Tony. I remembered using it for my stop light problem (we had to control 2 stop lights, so 6 lights, and everyone was using 6 wires and I was like, um we only need 3 wires, so I started to design what in essence was a demultiplexer before my teacher showed me that he had one)

Author:  vdemons [ Mon May 09, 2011 1:29 pm ]
Post subject:  RE:Making an LED Turing Game?

thx really helped alot


: