Sudoku-plugin

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
K (Versions-Historie)
Zeile 1: Zeile 1:
==Beschreibung==
+
== Description ==
'''Autor:''' Thomas Günther
+
'' 'Author:''' Thomas Günther
  
{{wikipedia|Sudoku}} ist ein Plug-in zum Erzeugen und Lösen von Zahlenpuzzles, so genannten Sudokus.
+
((wikipedia |)) Sudoku is a plug-in to generate and solve Number Place puzzles, so called Sudokus.
  
Ein Sudoku-Puzzle besteht aus 9 x 9 Zellen, die in 9 Regionen mit 3 x 3 Zellen unterteilt sind. Die Regeln sind einfach. In jeder Zeile, Spalte und Region müssen die Zahlen 1 bis 9 vorhanden sein. Einige Zahlen sind am Anfang vorgegeben. Diese Zellen werden türkis hinterlegt. Das Ziel des Puzzles ist, die fehlenden Zahlen zu finden. Es gibt nur eine Lösung für ein Sudoku-Puzzle.
+
A Sudoku puzzle consists of 9 x 9 cells subdivided into 9 regions with 3 x 3 cells. The rules are simple. In each row, column and region must be the numbers 1 to 9 so far. Some numbers are given at the beginning. These cells are cyan background. The aim of the puzzle is to find the missing numbers. There is only one solution to a Sudoku puzzle.
  
Die Sudoku-Puzzles werden 'on-the-fly' erzeugt. Die Anzahl der vorgegebenen Zahlen kann in den Einstellungen des Plug-ins gewählt werden, bis zu einem Minimum von 26. Das Erzeugen von Puzzles mit weniger als 26 vorgegebenen Zahlen dauert zu lange. Standardmäßig sind die Zellen mit vorgegebenen Zahlen symmetrisch angeordnet. Aber auch das kann in den Einstellungen geändert werden.
+
The Sudoku puzzles are generated on the fly. The number of givens can be selected in the settings of the plug-ins to a minimum of 26 The generation of puzzles with less than 26 givens takes too long. By default, the cells with given numbers symmetrically. But this can be changed in the settings.
  
Zum Lösen von schwierigen Sudokus gibt es ein paar Hilfen. Fehlerhafte Zellen sind rot und Zellen mit unklaren Zahlen magenta. Diese Hilfen können in den Einstellungen abgeschaltet werden. Mit der grünen Taste können Zellen markiert werden. Eine markierte Zelle hat einen grünen Hintergrund. Mit der gelben Taste wird der Cursor auf die nächste freie Zelle mit minimal möglichen Zahlen gesetzt. Die rote Taste setzt die nächste mögliche Zahl für die aktuelle Zelle.
+
To solve difficult Sudoku puzzles, there are some hints. Defective cells are red cells with ambiguous figures, and magenta. This assistance can be switched off in the settings. Use the green button cells can be marked. A selected cell has a green background. With the yellow key, the cursor to the next free cell with minimal possible numbers is set. The red button is the next possible number for the current cell.
  
Bei jedem Start des Plug-ins vom Hauptmenü aus wird das gleiche Puzzle angezeigt. Ein neues Puzzle wird nur erzeugt, wenn der VDR gestartet wird oder wenn der entsprechende Befehl im Befehlsmenü ausgewählt wird. Das Befehlsmenü wird mit der blauen Taste geöffnet.
+
Each time the plug-ins from the main menu the same puzzle appears. A new puzzle is only generated when the VDR is started or when the appropriate command is selected in the command menu. The command menu is opened with the blue button.
  
Im Befehlsmenü kann man Puzzles laden oder speichern aus/in die Datei sudoku-list. Diese Datei befindet sich im Verzeichnis plugins innerhalb des Konfigurationsverzeichnisses des VDR. Wenn das Konfigurationsverzeichnis nicht explizit festgelegt ist, wird das Video-Verzeichnis verwendet (z.B. /video0/plugins/sudoku/sudoku-list).
+
In the command menu you can load and save puzzles from / sudoku-list file. This file is located in the plugins folder inside the configuration directory of the VDR. If the configuration directory is not explicitly set, the video directory is used (eg / video0/plugins/sudoku/sudoku-list).
  
Die Datei sudoku-list enthält Zeilen mit einem Sudoku-Dump und einer optionalen Beschreibung. Der Sudoku-Dump muss an der ersten Position der Zeile beginnen. Das Trennzeichen zwischen Sudoku-Dump und Beschreibung ist ein Leerzeichen. Alles nach dem ersten Leerzeichen wird als Beschreibung betrachtet.
+
The sudoku-list file contains lines with a sudoku dump and an optional description. The sudoku dump must in the first position of the line start. The separator between sudoku dump and description is a space. Everything after the first space is considered as the description.
  
Ein Sudoku-Dump besteht aus bis zu drei Teilen. Der erste Teil enthält nur die vorgegebenen Zahlen, der zweite Teil alle bisher gesetzten Zahlen (einschließlich der vorgegebenen) und der dritte Teil die markierten Zellen. Die Teile sind durch einen Doppelpunkt voneinander getrennt. Alles außer dem ersten Teil ist optional. Die Teile sind Zeichenketten mit 81 Ziffern oder Unterstrichen. Ein Unterstrich wird als Null interpretiert. Alle anderen Zeichen, mit Ausnahme von Doppelpunkten und Leerzeichen, die die Zeichenkette beenden, werden ignoriert. Sie können verwendet werden, um den Dump zu strukturieren, z.B. Pluszeichen jeweils nach 9 Ziffern/Unterstrichen.
+
A Sudoku dump is made up of three parts. The first part contains only the givens, the second part all of the numbers set so far (including the default) and the third part of the selected cells. The parts are separated by a colon. All except the first part is optional. The parts are strings of 81 digits, or underscores. An underscore is interpreted as zero. All other characters are ignored with the exception of colons and spaces that will end the string They can be used to structure the dump, for example, plus sign after each 9 digits / under lines.
  
<!-- ===Status=== -->
+
<! - Status === === ->
==Bilder==
+
== Images ==
[[Bild:sudoku-plugin.jpg|thumb|none|''Sudoku'']]
+
[[Image: sudoku-plugin.jpg | thumb | none |''Sudoku'']]
  
==Bedienung==
+
== Operation ==
{| class="wikitable"
+
(| Class = "wikitable"
|-
+
| --
| bgcolor=#efefef | Links/Rechts/Hoch/Runter
+
| Bgcolor = # efefef | Left / Right / Up / Down
| Cursor im Puzzle bewegen.
+
| Move cursor to the puzzle.
|-
+
| --
| bgcolor=#efefef | 1..9
+
| Bgcolor = # efefef | 1 .9
| Die Zahl in der aktuellen Zelle setzen.
+
| The number in the current cell.
|-
+
| --
| bgcolor=#efefef | 0
+
| Bgcolor = # efefef | 0
| Die Zahl in der aktuellen Zelle löschen.
+
| The number in the current cell.
|-
+
| --
| bgcolor=#00ff00 | Grün
+
| Bgcolor = # 00ff00 | Green
| Aktivieren/Deaktivieren der Markierung in der aktuellen Zelle.
+
| Activate / deactivate the marker in the current cell.
|-
+
| --
| bgcolor=#ffff00 | Gelb
+
| Bgcolor = # ffff00 | Yellow
| Cursor auf die nächste freie Zelle mit minimal möglichen Zahlen setzen.
+
| Cursor to the next free cell with minimal possible numbers and share.
|-
+
| --
| bgcolor=#ff0000 | Rot
+
| Bgcolor = # ff0000 | Red
| Die nächste mögliche Zahl für die aktuelle Zelle setzen - Löschen der Zahl, wenn es keine größere mögliche Zahl gibt.
+
| The next possible contact number for the current cell - delete the number if there is no greater possible number.
|-
+
| --
| bgcolor=#0000ff | Blau
+
| Bgcolor = # 0000ff | Blue
| Befehlsmenü öffnen.
+
| Open menu command.
|-
+
| --
| bgcolor=#efefef | Back
+
| Bgcolor = # efefef | Back
| Plug-in beenden.
+
| Plug-in finish.
|}
+
|)
  
===Befehlsmenü===
+
=== === Command Menu
{| class="wikitable"
+
(| Class = "wikitable"
|-
+
| --
! Befehl
+
! Code
! Beschreibung
+
! Description
|-
+
| --
| '''Neues Puzzle erzeugen'''
+
|'' 'Create a new puzzle'''
| Ein Zufalls-Puzzle wird erzeugt.
+
| A random puzzle is generated.
|-
+
| --
| '''Puzzle laden'''
+
|'' 'Puzzle Load'''
| Laden eines Puzzles aus der Sudoku-Liste. Im Listenmenü kann man auch Sudokus aus der Liste löschen oder die Beschreibungen bearbeiten.
+
| Loading a Sudoku puzzle from the list. In the list menu you can also delete Sudokus from the list or edit the descriptions.
|-
+
| --
| '''Puzzle speichern'''
+
|'' 'Save''puzzle'
| Hinzufügen des Puzzles zur Sudoku-Liste, zusammen mit einer optionalen Beschreibung.
+
| Add to the Sudoku puzzle list, together with an optional description.
|-
+
| --
| '''Puzzle zurücksetzen'''
+
|'' 'Reset Puzzle'''
| Zurücksetzen der Zahlen in allen Zellen, mit Ausnahme der vorgegebenen Zahlen.
+
| Reset the numbers in all cells, with the exception of the givens.
|-
+
| --
| '''Einstellungsmenü öffnen'''
+
|'' 'Setting menu to open'''
| Das Einstellungsmenü des Plug-ins wird geöffnet.
+
| The Settings menu of the open plug-ins will be.
|-
+
| --
| '''Beenden'''
+
|'' 'Quit'''
| Plug-in beenden.
+
| Plug-in finish.
|}
+
|)
  
===Farben===
+
Colors === ===
{| class="wikitable"
+
(| Class = "wikitable"
|-
+
| --
| bgcolor=#00FFFF | Türkis
+
| Bgcolor = # 00FFFF | Turquoise
| Vorgegebene Zahlen
+
| Givens
|-
+
| --
| bgcolor=#00ff00 | Grün
+
| Bgcolor = # 00ff00 | Green
| Markierte Zellen
+
| Marked cells
|-
+
| --
| bgcolor=#ff0000 | Rot
+
| Bgcolor = # ff0000 | Red
| Fehlerhafte Zellen
+
| Incorrect Cells
|-
+
| --
| bgcolor=#FF00FF| Magenta
+
| Bgcolor = # FF00FF | Magenta
| Unklare Zahlen
+
| Ambiguous numbers
|}
+
|)
  
<!-- ===[[SVDRP]] Befehle=== -->
+
<! - ===[[ SVDRP]] commands === ->
<!-- ==Hardwareanforderungen== -->
+
<! - Hardware requirements == == ->
  
==Softwareanforderungen==
+
== == Software Requirements
* vdr >= '''1.3.47'''
+
Vdr *> = '1 .3.47'''' '
  
<!-- ==Installation== -->
+
<! - Installation == == ->
<!-- ===Optionen=== -->
+
<! - Options === === ->
<!-- ===Patches=== -->
+
<! - Patches === === ->
<!-- ==Konfiguration== -->
+
<! - == == Configuration ->
===Einstellungen===
+
=== Settings ===
{| class="wikitable"
+
(| Class = "wikitable"
|-
+
| --
! Parameter
+
! Parameters
! Werte
+
! Values
 
! Standard
 
! Standard
! Beschreibung
+
! Description
|-
+
| --
| '''Anzahl vorgegebener Zahlen'''
+
|'' 'Count''Givens'
 
| 26-81
 
| 26-81
 
| 36
 
| 36
| Die Anzahl vorgegebener Zahlen der erzeugten Puzzles.
+
| The number of given numbers of the generated puzzles.
|-
+
| --
| '''Vorgegebene Zahlen symmetrisch anordnen'''
+
|'' 'Symmetric givens'''
| ja/nein
+
| Yes / no
| ja
+
| Yes
| Die Zellen mit vorgegebenen Zahlen werden symmetrisch angeordnet.
+
| The cells with givens are symmetrically arranged.
|-
+
| --
| '''Fehler markieren'''
+
|'' 'Mark errors'''
| ja/nein
+
| Yes / no
| ja
+
| Yes
| Fehlerhafte Zellen werden rot markiert.
+
| Erroneous cells are highlighted in red.
|-
+
| --
| '''Unklare Zahlen markieren'''
+
|'' 'Mark ambiguous numbers'''
| ja/nein
+
| Yes / no
| ja
+
| Yes
| Zellen mit unklaren Zahlen werden magenta markiert.
+
| Cells with ambiguous numbers are marked with magenta color.
|-
+
| --
| '''Mögliche Zahlen als Muster anzeigen'''
+
|'' 'Possible numbers as patterns show'''
| ja/nein
+
| Yes / no
| ja
+
| Yes
| In allen leeren Zellen wird ein Muster angezeigt, das die möglichen Zahlen repräsentiert. Das Muster ist strukturiert als kleines 3 x 3 Raster, deren Teile von oben links nach unten rechts den Zahlen von 1 bis 9 entsprechen. Wenn eine Zahl in einer Zelle möglich ist, dann wird der Hintergrund des entsprechenden Rasterteils eingefärbt.
+
| In all empty cells displayed a pattern that represents the kinds of numbers. The model is structured as a small 3 x 3 grid, whose parts from top left to bottom right correspond to the numbers 1 to 9 If a number is possible in a cell, then the background of the corresponding grid section is colored.
|-
+
| --
| '''Mögliche Zahlen als Ziffern anzeigen (VDR >= 1.5.4)'''
+
|'' 'Possible numbers as digits (VDR> = 1.5.4)'''
| ja/nein
+
| Yes / no
| ja
+
| Yes
| In allen leeren Zellen werden Ziffern angezeigt, die die möglichen Zahlen repräsentieren.
+
| In all empty cells are displayed digits that represent the potential numbers.
|-
+
| --
| '''Markierungen löschen beim Reset'''
+
|'' 'Erase markers during a reset'''
| ja/nein
+
| Yes / no
| nein
+
| No.
| Beim Zurücksetzen des Puzzles in den Ausgangszustand werden alle Markierungen gelöscht.
+
| When you reset the puzzle to its initial state wants to erase all markers.
|-
+
| --
| '''Transparenz (%)'''
+
|'' 'Transparency (%)'''
 
| 0-100
 
| 0-100
 
| 50
 
| 50
| Einstellung der Transparenz des Menüs.
+
| Set the transparency of the menu.
|-
+
| --
|}
+
|)
  
<!-- ===Parameter=== -->
+
<! - Parameters === === ->
<!-- ==Sonstiges== -->
+
<! - Other == == ->
<!-- ===Probleme=== -->
+
<! - Problems === === ->
<!-- ===Tipps=== -->
+
<! - Tips === === ->
<!-- ===Wunschliste=== -->
+
<! - Wishlist === === ->
<!-- ===Snapshot=== -->
+
<! - Snapshot === === ->
  
==Versions-Historie==
+
== Version History ==
{| width=100% class="wikitable"
+
(| Width = 100% class = "wikitable"
|-
+
| --
 
! Version
 
! Version
! Datum
+
! Date
! Beschreibung
+
! Description
 
! Link
 
! Link
|-
+
| --
 
| 0.3.3
 
| 0.3.3
 
| 29.11.2008
 
| 29.11.2008
 
|
 
|
* Fixed solve and print mode of sudoku_generator (don't work if the dump begins with a digit - thanks to Ville Skyttä for reporting this).
+
* Fixed solve and print mode of sudoku_generator (do not work if the dump begins with a digit - thanks to Ville Skytta for reporting this).
* Updated Finnish language texts (thanks to Ville Skyttä).
+
* Updated Finnish language texts (thanks to Ville Skytta).
* Updated French language texts (thanks to NIVAL Michaël).
+
* Updated French language texts (thanks to Michaël NIVAL).
 
* Updated Italian language texts (thanks to Diego Pierotto).
 
* Updated Italian language texts (thanks to Diego Pierotto).
 
* Updated Spanish language texts (thanks to Bittor Corl).
 
* Updated Spanish language texts (thanks to Bittor Corl).
  
| {{vdrportal board|82217|0.3.3}}
+
| ((Vdrportal board | 82.217 | 0.3.3))
|}
+
|)
  
==Links==
+
== Links ==
# [http://toms-cafe.de/vdr/sudoku Homepage des Plugins]
+
# [Http: / / toms-cafe.de/vdr/sudoku homepage of the plugin]
  
[[Kategorie:Plugins]]
+
[http://sudokusolver.info/ sudoku puzzle solver] sudoku solver
{{i18n|sudoku-plugin}}
+
 
 +
[http://sudokutips.us/sudokustrategies.html strategy sudoku] sudoku solving strategy
 +
 
 +
[http://solvesudoku.net/sudokustrategy.html sudoku strategies]
 +
 
 +
[http://suduko.sudukos.com Suduko]
 +
 
 +
[http://sudokutips.us/sodokutechniques.html sudoku techniques]
 +
 
 +
[http://dailysudoku.info daily sudoku] daily sudoku
 +
[[Category: Plugins]]
 +
((i18n | sudoku-plugin))

Version vom 3. März 2010, 07:09 Uhr

Inhaltsverzeichnis

Description

'Author:' Thomas Günther

((wikipedia |)) Sudoku is a plug-in to generate and solve Number Place puzzles, so called Sudokus.

A Sudoku puzzle consists of 9 x 9 cells subdivided into 9 regions with 3 x 3 cells. The rules are simple. In each row, column and region must be the numbers 1 to 9 so far. Some numbers are given at the beginning. These cells are cyan background. The aim of the puzzle is to find the missing numbers. There is only one solution to a Sudoku puzzle.

The Sudoku puzzles are generated on the fly. The number of givens can be selected in the settings of the plug-ins to a minimum of 26 The generation of puzzles with less than 26 givens takes too long. By default, the cells with given numbers symmetrically. But this can be changed in the settings.

To solve difficult Sudoku puzzles, there are some hints. Defective cells are red cells with ambiguous figures, and magenta. This assistance can be switched off in the settings. Use the green button cells can be marked. A selected cell has a green background. With the yellow key, the cursor to the next free cell with minimal possible numbers is set. The red button is the next possible number for the current cell.

Each time the plug-ins from the main menu the same puzzle appears. A new puzzle is only generated when the VDR is started or when the appropriate command is selected in the command menu. The command menu is opened with the blue button.

In the command menu you can load and save puzzles from / sudoku-list file. This file is located in the plugins folder inside the configuration directory of the VDR. If the configuration directory is not explicitly set, the video directory is used (eg / video0/plugins/sudoku/sudoku-list).

The sudoku-list file contains lines with a sudoku dump and an optional description. The sudoku dump must in the first position of the line start. The separator between sudoku dump and description is a space. Everything after the first space is considered as the description.

A Sudoku dump is made up of three parts. The first part contains only the givens, the second part all of the numbers set so far (including the default) and the third part of the selected cells. The parts are separated by a colon. All except the first part is optional. The parts are strings of 81 digits, or underscores. An underscore is interpreted as zero. All other characters are ignored with the exception of colons and spaces that will end the string They can be used to structure the dump, for example, plus sign after each 9 digits / under lines.

<! - Status === === ->

Images

Sudoku

Operation

(| Class = "wikitable" | -- | Bgcolor = # efefef | Left / Right / Up / Down | Move cursor to the puzzle. | -- | Bgcolor = # efefef | 1 .9 | The number in the current cell. | -- | Bgcolor = # efefef | 0 | The number in the current cell. | -- | Bgcolor = # 00ff00 | Green | Activate / deactivate the marker in the current cell. | -- | Bgcolor = # ffff00 | Yellow | Cursor to the next free cell with minimal possible numbers and share. | -- | Bgcolor = # ff0000 | Red | The next possible contact number for the current cell - delete the number if there is no greater possible number. | -- | Bgcolor = # 0000ff | Blue | Open menu command. | -- | Bgcolor = # efefef | Back | Plug-in finish. |)

=== === Command Menu (| Class = "wikitable" | -- ! Code ! Description | -- | 'Create a new puzzle' | A random puzzle is generated. | -- | 'Puzzle Load' | Loading a Sudoku puzzle from the list. In the list menu you can also delete Sudokus from the list or edit the descriptions. | -- | 'Savepuzzle' | Add to the Sudoku puzzle list, together with an optional description. | -- | 'Reset Puzzle' | Reset the numbers in all cells, with the exception of the givens. | -- | 'Setting menu to open' | The Settings menu of the open plug-ins will be. | -- | 'Quit' | Plug-in finish. |)

Colors === === (| Class = "wikitable" | -- | Bgcolor = # 00FFFF | Turquoise | Givens | -- | Bgcolor = # 00ff00 | Green | Marked cells | -- | Bgcolor = # ff0000 | Red | Incorrect Cells | -- | Bgcolor = # FF00FF | Magenta | Ambiguous numbers |)

<! - === SVDRP commands === -> <! - Hardware requirements == == ->

== == Software Requirements Vdr *> = '1 .3.47' '

<! - Installation == == -> <! - Options === === -> <! - Patches === === -> <! - == == Configuration ->

Settings

(| Class = "wikitable" | -- ! Parameters ! Values ! Standard ! Description | -- | 'CountGivens' | 26-81 | 36 | The number of given numbers of the generated puzzles. | -- | 'Symmetric givens' | Yes / no | Yes | The cells with givens are symmetrically arranged. | -- | 'Mark errors' | Yes / no | Yes | Erroneous cells are highlighted in red. | -- | 'Mark ambiguous numbers' | Yes / no | Yes | Cells with ambiguous numbers are marked with magenta color. | -- | 'Possible numbers as patterns show' | Yes / no | Yes | In all empty cells displayed a pattern that represents the kinds of numbers. The model is structured as a small 3 x 3 grid, whose parts from top left to bottom right correspond to the numbers 1 to 9 If a number is possible in a cell, then the background of the corresponding grid section is colored. | -- | 'Possible numbers as digits (VDR> = 1.5.4)' | Yes / no | Yes | In all empty cells are displayed digits that represent the potential numbers. | -- | 'Erase markers during a reset' | Yes / no | No. | When you reset the puzzle to its initial state wants to erase all markers. | -- | 'Transparency (%)' | 0-100 | 50 | Set the transparency of the menu. | -- |)

<! - Parameters === === -> <! - Other == == -> <! - Problems === === -> <! - Tips === === -> <! - Wishlist === === -> <! - Snapshot === === ->

Version History

(| Width = 100% class = "wikitable" | -- ! Version ! Date ! Description ! Link | -- | 0.3.3 | 29.11.2008 |

  • Fixed solve and print mode of sudoku_generator (do not work if the dump begins with a digit - thanks to Ville Skytta for reporting this).
  • Updated Finnish language texts (thanks to Ville Skytta).
  • Updated French language texts (thanks to Michaël NIVAL).
  • Updated Italian language texts (thanks to Diego Pierotto).
  • Updated Spanish language texts (thanks to Bittor Corl).

| ((Vdrportal board | 82.217 | 0.3.3)) |)

Links

  1. [Http: / / toms-cafe.de/vdr/sudoku homepage of the plugin]

sudoku puzzle solver sudoku solver

strategy sudoku sudoku solving strategy

sudoku strategies

Suduko

sudoku techniques

daily sudoku daily sudoku ((i18n | sudoku-plugin))