Go Down

Topic: Sudoku using TVout (Read 3648 times) previous topic - next topic

carl47

I have been a big fan of mdmetzle's TVout:


http://arduino.cc/forum/index.php?PHPSESSID=58312ce513dd400535aec4d135c619f5&topic=8814.255



With his latest library I have now put together a nice little sudoku game.






It requires 2 resistors for the composite video output.

We also need 5 pushbutton switches. Left, right, up, down and fire.
These are wired to the same arduino pins as used by nootropic in his
hackvision board design.

http://nootropicdesign.com/hackvision/

I have dont have a hackvision board but it should run my sudoku program.

Download:

SudokuUsingTVout.zip

From:

http://code.google.com/p/mysudoku/downloads/list

nootropic

Nice job!  The game works perfectly on Hackvision.  Glad the Controllers library was useful to you!

carl47

Thanks nootropic.

I'm happy it works, it's so easy to make a simple wiring mistake.

Your buttons controller library saved me a lot of time.

bill2009


carl47

Thanks bill2009.

I have been a little obsessed with sudoku.
I have done it in VB for windows, C for linux and now
partial C++ for arduino.

I think I am now about sudoku'ed out.

nootropic

With carl47's permission, I added the game to the Hackvision games page.
I added automatic NTSC/PAL detection and sound feedback on button presses.

wossname

How about adding the ability to have the arduino solve a puzzle (eg. taken from a newspaper)?  You could type in the starting grid and algorithmically fill in the rest.  That would be cool.

But anyway this is a really nice project.  Well played.

carl47

Thanks wossname.

Yes that is a nice feature.
Another is a step back function to return to before you made an error.

Both these features are in my main programs using VB and C.

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1287366986/0

I do not intend to put them in this tiny version.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy