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.
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
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.
- Copy the dll to your plugins folder
- Create a folder called SuDoku in the skin folder that you use, e.g., ...\skin\Blue\SuDoku
- Copy the skin.xml file to the above folder
- Start Config and tick the box for the SuDoku plugin to add it to your main menu.
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