Pages: [1]   Go Down
Author Topic: Sudoku using TVout  (Read 3189 times)
0 Members and 1 Guest are viewing this topic.
Australia
Offline Offline
Full Member
***
Karma: 7
Posts: 210
AVR Microcontrollers
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Minneapolis, MN USA
Offline Offline
Full Member
***
Karma: 2
Posts: 162
Never catch a falling soldering iron...
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Australia
Offline Offline
Full Member
***
Karma: 7
Posts: 210
AVR Microcontrollers
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

ottawa, canada
Offline Offline
God Member
*****
Karma: 6
Posts: 993
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

very nice work!
Logged

Bill Rowe
Olduino - An Arduino for the First of Us
www.olduino.wordpress.com

Australia
Offline Offline
Full Member
***
Karma: 7
Posts: 210
AVR Microcontrollers
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Minneapolis, MN USA
Offline Offline
Full Member
***
Karma: 2
Posts: 162
Never catch a falling soldering iron...
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

0
Offline Offline
Jr. Member
**
Karma: 1
Posts: 82
Uno momento
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Australia
Offline Offline
Full Member
***
Karma: 7
Posts: 210
AVR Microcontrollers
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Pages: [1]   Go Up
Jump to: