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

 
  • 0 Vote(s) - 0 Average
SuDoku plugin v1.3
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#1
2005-12-10, 04:30 AM
I've added a few enhancements to the original version but it's still pretty basic.
  • Simple timer - this will be more or less accurate depending on the speed of your system. I'll look at putting a 'true' timer in.
  • Four different levels in two styles. The levels followed by (S) provide a 'rotational symmetry' to the start grid. Before starting a game, use the down arrow to select the '<- Level ->' button and the left/right arrows to select a level. Go back to the Start/Cont button and press OK to begin.
  • Ability to pause using Ctrl-Q on keyboard or the Pause button on the MVP remote. Pressing ESC (or Back/Exit on MVP remote) has the same effect. NOTE - using ESC to leave the plugin will lose the game position altogether and you'll start a new game when returning.
  • Ability to 'pencil in' numbers by pressing Ctrl-B on the keyboard or the Blue button on MVP remote. This is a 'toggle' option so turn it off again when you want to enter a number you're sure of. Up to 3 'penciled' numbers are allowed for a cell.
Font colours and grid background colour can be changed in skin.xml.
Code:
<TextStyle name="PrefilledNumbers" color="Red" typeFace="Tahoma" size="16" style="bold"/>
<TextStyle name="PlayerNumbers" color="Blue" typeFace="Tahoma" size="16" style="bold"/>
<TextStyle name="PencilledNumbers" color="Magenta" typeFace="Tahoma" size="12" style="bold"/>

...
<SpecialElement name="SuDokuGrid" xPos="220" yPos="70" cellWidth="40" cellHeight="40" xCellcount="9" yCellcount="9" lineWidth="1" fillColour="LightGray"/>
Don't mess about with the SuDokuGrid special element attributes xCellCount and yCellCount - odd things may happen.

The grid generator is still flawed and you will often end up with an 'either/or' situation when it comes to filling the last few cells. I've changed the logic to acknowledge a 'grid complete' even if it doesn't exactly match the original. I'll look at generating 'single solution' grids.

To use - create a folder called SuDoku in your skin folder and drop the skin.xml in there. Put the plugin dll in your plugins folder, start Config, enable the plugin and click OK.

Cheers,
Brian
urso
Offline

Junior Member

Posts: 15
Threads: 3
Joined: May 2005
#2
2005-12-10, 05:06 PM
Beautiful and works great, many thanks for this.

I changed all the colours and fonts, all is fine. Last suggestion for a future upgrade if there is one: can we configure the color of the circle on the selected cell (currently black)?
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#3
2005-12-10, 05:23 PM
urso Wrote:Beautiful and works great, many thanks for this.
Glad you like it.

Quote:Last suggestion for a future upgrade if there is one: can we configure the color of the circle on the selected cell (currently black)?
Hadn't tought of that - will do.

Cheers,
Brian
Pioneer4x4
Offline

Posting Freak

Posts: 926
Threads: 50
Joined: Jan 2005
#4
2005-12-10, 05:50 PM
I just installed this version. I will test it out soon. Thanks!
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.
Dubya
Offline

Member

Posts: 149
Threads: 37
Joined: Dec 2004
#5
2005-12-10, 05:59 PM
Can someone put up a screen shot? Dubya
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#6
2005-12-10, 07:46 PM
Dubya Wrote:Can someone put up a screen shot? Dubya
Here you go. You'll see the level is set for Mild with 'rotational symmetry'. The red numbers are prefilled, blue are the player's answers and magenta (the two squares filled with 12) are the 'pencilled in' possible numbers. Colours are defined in the skin.xml (except the circular 'cursor' fixed at black in this version).

Reminder of rules - each row and column must contain the numbers 1 - 9 with no repetition. Also each 'region' (3x3 grid) can have no repetition.

Cheers,
Brian
Richard
Offline

Member

Posts: 81
Threads: 12
Joined: Mar 2005
#7
2005-12-10, 07:48 PM
Just installed the plugin...really like it.

A couple of requests:

1. Ability to save the game when I exit the plugin.

2. Ability to pencil in more than three numbers.
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#8
2005-12-10, 08:12 PM
Richard Wrote:Just installed the plugin...really like it.
Cheers!

Quote:1. Ability to save the game when I exit the plugin.
The save game option is on my list of things to do (the code has a SaveGame() method in it, I just haven't implemented it yet).

Quote:2. Ability to pencil in more than three numbers.
Tricky. The more numbers, the smaller the font needs to be. Possibly OK on a PC monitor but I doubt if anything more than four would be usable for MVP users. I'll experiment.

Cheers,
Brian
ajs1544
Offline

Junior Member

Posts: 11
Threads: 2
Joined: Dec 2005
#9
2005-12-13, 11:05 PM
sorry if this is being ignorant but the zip file does not hold the skin.xml..?
Digital712
Offline

Member

Posts: 67
Threads: 16
Joined: Dec 2005
#10
2005-12-13, 11:41 PM
Anyone else have a SuDoku board burned into their TV yet? Smile

Digital
[COLOR="Navy"][SIZE="1"]AMD Athlon 64 X2 3800+, 1GB PC3200
ASUS A8N5X - nForce4 chipset
Geforce 6200TC 128MB PCIE
WinTV-PVR 500 MCE (With FM)
2 250GB SATA Seagate Barracuda's
Windows XP Pro SP2

Client: Wired Media MVP, Comcast Cable
[/SIZE][/COLOR]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  New plugin - MovieTrailers imilne 11 6,078 2014-09-25, 08:16 AM
Last Post: imilne
  HD Logos for the NPVR WebRadio Plugin Lao Pan 3 3,321 2014-02-09, 01:32 PM
Last Post: Lao Pan
  Files plugin tmrt 13 7,339 2014-01-09, 11:16 PM
Last Post: mvallevand
  Plex Plugin - first release psycik 141 58,980 2013-06-16, 08:59 PM
Last Post: JonnyCam
  Web Cams plugin for NextPVR McBainUK 37 15,372 2012-10-19, 07:35 AM
Last Post: McBainUK
  PhotoFilter: New Photos/Videos plugin to browse using metadata cncb 1 1,953 2012-08-10, 04:06 PM
Last Post: cncb
  Any interest in a Spotify Plugin for NextPVR? McBainUK 38 13,856 2012-05-22, 05:37 AM
Last Post: McBainUK
  System Plugin - CPU Temperature Monitoring imilne 1 2,005 2012-03-28, 07:59 PM
Last Post: LegioX
  System Plugin - 2nd Test Release (4th Feb) imilne 31 10,627 2012-02-24, 12:22 PM
Last Post: Reddwarf
  System Plugin - New Test Release (29th Jan) imilne 38 10,942 2012-02-07, 08:38 AM
Last Post: imilne

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

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

Linear Mode
Threaded Mode