NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Information Community Announcements v
« Previous 1 … 40 41 42 43 44 … 56 Next »
SuDoku Plugin v1 (Beta)

 
  • 0 Vote(s) - 0 Average
SuDoku Plugin v1 (Beta)
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#1
2005-11-19, 08:39 PM (This post was last modified: 2005-11-21, 02:21 AM by bgowland.)
Just when you thought it was safe to go back in the water - SuDoku comes to GB-PVR. :eek:

OK, this is a pretty basic implementation. I'm teaching myself C# and playing with plugins is a fun way of doing it. It has no frills and only one level of difficulty. The skin.xml file was taken from the main menu skin so has a load of unnecessary stuff in it. The grid generator algorithm is slightly flawed and could be improved on. Controls are arrow keys, number keys and Esc to leave the screen. Use '0' to clear a square if you need to.

  1. Copy the dll to your plugins folder
  2. Create a folder called SuDoku in the skin folder that you use, e.g., ...\skin\Blue\SuDoku
  3. Copy the skin.xml file to the above folder
  4. Start Config and tick the box for the SuDoku plugin to add it to your main menu.
For those of you in some remote part of the world where the newspapers aren't yet obsessed with Su Doku puzzles Smile , the rules are...

Each row, column and individual 3x3 grid must contain the numbers 1 to 9. There can be no repetition of a number in any row, column or 3x3 grid.

If people like it I'll consider putting a level selector in and possibly a timer and perhaps save/load game option.

Note - Only tested with Blue skin. Not tested on MVP.

Cheers,
Brian
Pioneer4x4
Offline

Posting Freak

Posts: 926
Threads: 50
Joined: Jan 2005
#2
2005-11-19, 10:38 PM
Thanks, I am going to try it today! I was actually going to request one.
3x MVPs (not used anymore)
XBMC
Hauppauge 150 via SVideo
Comcast Digital Cable
Motorola HD Cable box channel changed via Firewire
Vista Home Premium with RDP hack
AMD Athalon 64 5000+
340gig sata, plus 80SATA+3x160IDE Drives in XP machine for storage.
Pioneer4x4
Offline

Posting Freak

Posts: 926
Threads: 50
Joined: Jan 2005
#3
2005-11-19, 10:50 PM
It seems to be OK. I'm going to try it via MVP. If you could make it simular to
http://www.websudoku.com
all the better! I like how you can put in multiple number in one square to 'pencil' them in. It helps on the hard and evil levels.
3x MVPs (not used anymore)
XBMC
Hauppauge 150 via SVideo
Comcast Digital Cable
Motorola HD Cable box channel changed via Firewire
Vista Home Premium with RDP hack
AMD Athalon 64 5000+
340gig sata, plus 80SATA+3x160IDE Drives in XP machine for storage.
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#4
2005-11-20, 01:00 AM
Pioneer4x4 Wrote:It seems to be OK. I'm going to try it via MVP.
I managed to try it on my MVP briefly (in between my wife watching TV progs Smile ) and it seemed to be OK.

Quote: If you could make it simular to http://www.websudoku.com all the better! I like how you can put in multiple number in one square to 'pencil' them in. It helps on the hard and evil levels.
OK. I'd have to change my arrays and font handling but it should be possible. I'll give it a try.
ydekmekji
Offline

Posting Freak

Posts: 824
Threads: 275
Joined: Jan 2005
#5
2005-11-20, 01:49 AM
Shame on you for putting this up! Don't you know that for those of us who are addicted to Sudoku, we now have no reason to leave the couch Smile Thank you for this awesome plugin.

It would be great to get the more difficult scenarios set up (the easy ones are not as fun for me Smile
If you want to know why nPVR is the bomb, ask my wife!
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#6
2005-11-20, 02:19 AM
ydekmekji Wrote:Shame on you for putting this up!
I had to post it for my own sanity - I was driving myself nuts testing it. Big Grin

Quote:Thank you for this awesome plugin.
Cheers. Glad you like it.

My algorithm will generate harder grids - I just haven't got as far as working out how to do the relevant 'on screen' stuff so the player can choose the level. I'll have a look before going to bed tonight.
Pioneer4x4
Offline

Posting Freak

Posts: 926
Threads: 50
Joined: Jan 2005
#7
2005-11-20, 03:34 AM
I have tested it a couple of times via MVP, worked fine. I do have one more suggestion, could you make the prefilled numbers, and the user entered ones more different. Maybe different colors.
3x MVPs (not used anymore)
XBMC
Hauppauge 150 via SVideo
Comcast Digital Cable
Motorola HD Cable box channel changed via Firewire
Vista Home Premium with RDP hack
AMD Athalon 64 5000+
340gig sata, plus 80SATA+3x160IDE Drives in XP machine for storage.
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#8
2005-11-20, 04:10 AM
Pioneer4x4 Wrote:could you make the prefilled numbers, and the user entered ones more different. Maybe different colors.
Sure. I've been thinking about that. My original test versions had them the same - I added the bold font for the prefilled ones to help slightly but I agree it needs more. I'm looking at defining them in the skin.xml file.

Cheers,
Brian
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#9
2005-11-21, 02:45 AM (This post was last modified: 2005-11-21, 02:50 AM by bgowland.)
I've uploaded a new version - I've updated the download link in the first post.

Changes...

Quote:Changes...
  • When starting, the focus is set to the 'difficulty' button. Use left/right to move between Easy/Mild/Tricky/Tough. When you're done hit Return (or OK on remote) to start play.
  • If you're using a mouse at the PC, clicking in the grid will move the 'cursor'. It's quicker than using the arrow keys.
  • The font colour, size and style can be set for the prefilled numbers and the player's numbers by editing the skin.xml. Edit the following...
    Code:
    <TextStyle name="PrefilledNumbers" color="Red" typeFace="Tahoma" size="16" style="bold"/>
    <TextStyle name="PlayerNumbers" color="Blue" typeFace="Tahoma" size="16" style="normal"/>
That's about it. The grid generator still isn't how I want it and you may find some 'deadlock' situations at the end of the game. You may also find the levels aren't as easy or hard as they claim. I'll improve on this.

NOTE - I disabled the GB-PVR screensaver during play - if it kicked in then you would get a new grid when you return (bad coding sorry). It's re-enabled when you quit the plugin.

TODO:
Add a timer and save/load game.
Add the ability to 'pencil in' multiple numbers in a single square.

Cheers,
Brian

PS tipstir - here's a screenshot
Pioneer4x4
Offline

Posting Freak

Posts: 926
Threads: 50
Joined: Jan 2005
#10
2005-11-21, 11:40 AM
Thanks for the update! I'm looking forward to trying it.
3x MVPs (not used anymore)
XBMC
Hauppauge 150 via SVideo
Comcast Digital Cable
Motorola HD Cable box channel changed via Firewire
Vista Home Premium with RDP hack
AMD Athalon 64 5000+
340gig sata, plus 80SATA+3x160IDE Drives in XP machine for storage.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  New LG and Samsung NextPVR Web Smart TV App available for beta testing. fred250 388 137,102 2017-04-10, 10:46 AM
Last Post: fred250
  Bluray Player Beta whurlston 23 11,880 2015-10-05, 09:32 AM
Last Post: Lao Pan
  Movies beta vik 66 30,629 2015-03-31, 03:13 AM
Last Post: Lao Pan
  New plugin - MovieTrailers imilne 11 6,111 2014-09-25, 08:16 AM
Last Post: imilne
  HD Logos for the NPVR WebRadio Plugin Lao Pan 3 3,336 2014-02-09, 01:32 PM
Last Post: Lao Pan
  Files plugin tmrt 13 7,377 2014-01-09, 11:16 PM
Last Post: mvallevand
  Need beta testers for "NextPVR for Samsung" (client for samsung smart tvs/blurays) reven 61 27,198 2013-12-03, 10:21 AM
Last Post: martint123
  imageGrabLite Beta mvallevand 84 61,576 2013-10-04, 06:40 PM
Last Post: mvallevand
  Plex Plugin - first release psycik 141 59,070 2013-06-16, 08:59 PM
Last Post: JonnyCam
  SSPlus Screensaver - Photo Slideshow Beta ACTCMS 40 13,754 2012-12-07, 01:49 AM
Last Post: ACTCMS

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode