Intelligent sudoku game method and device
By setting detection buttons and LED lights in the squares of the Sudoku chess game device, the status of the chess pieces is detected in real time and color and flashing prompts are provided, which solves the problem of inability to detect and intuitively correspond in real time in the existing technology, simplifies the placement process, and improves the Improve the intelligence and user experience of the game.
Patent Information
- Application Number
- CN202410861283.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-10-15
AI Technical Summary
Existing Sudoku game devices cannot detect the status of chess pieces in real time, the chess pieces cannot intuitively correspond to the chessboard, the placement process is cumbersome, and it is difficult to quickly adjust the chessboard layout.
An intelligent Sudoku game method is designed, which uses detection buttons and LED lights in the squares of the chess placement area to detect the position and status of the chess pieces in real time through the controller. The LED lights display color and flash to prompt the user to place them correctly or incorrectly. Place, simplify the placement process and improve the intelligence of chessboard layout adjustment.
It realizes real-time detection and high-speed self-inspection of the chess piece placement area, reduces the information input process, improves the intelligence level of the device, simplifies the operation process, and enhances the user experience and the fun of the game.
Smart Images

Figure CN118767418A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of Sudoku games, and in particular to an intelligent Sudoku game method, device, computer equipment and computer program product. Background Art
[0002] Traditional Sudoku game devices are mainly divided into two categories: ordinary devices and electronic devices: Ordinary devices: users need to manually place digital chess pieces, complete the Sudoku game according to the requirements of the questions, and check the answers by themselves after the game is completed. Although this method is direct, the operation is cumbersome, the steps are complicated, and it is easy to make mistakes. Electronic devices: Through built-in embedded systems, electronic devices can provide certain guidance and answer proofreading functions. This type of device uses lights, voices, displays, etc. to remind and guide users, but its placement prompt method lacks intelligence, and it is difficult to detect the user's placement in real time. An additional display screen is required for prompts, resulting in cumbersome operations, complex processes, and poor user experience. The game process of electronic devices is generally as follows: the user selects the game level; the built-in embedded system guides the user to place the chess pieces; after the chess pieces are placed, the answering stage begins; the user places the remaining chess pieces through deduction and judgment; the system reminds the user to place the pieces according to the user's needs during the game process; the system detects the game answers.
[0003] The shortcomings of the existing technology are: it is impossible to detect the status of chess pieces in real time, the chess pieces and the chessboard cannot be intuitively matched, the process of placing pieces is cumbersome, and it is difficult to quickly adjust the chessboard layout.
[0004] The correctness judgment method of existing similar products involves a relatively complicated process, and includes the following problems: the game device involved cannot detect the user's placement in real time; the chessboard chess piece placement status requires an additional display screen to express, and cannot produce an intuitive correspondence with the chessboard; the device involved requires a complete placement process to update the chessboard information recorded internally, and cannot be adjusted dynamically. Summary of the invention
[0005] The present application provides an intelligent Sudoku chess game method, device, computer equipment and storage medium, aiming to solve the problems that the prior art cannot detect the status of chess pieces in real time, the chess pieces cannot correspond to the chessboard intuitively, the placement process is cumbersome, and it is difficult to quickly adjust the chessboard layout.
[0006] In a first aspect, an intelligent Sudoku chess game method is applied to an intelligent Sudoku chess device, wherein the intelligent Sudoku chess device includes a chess piece placement area 1, a plurality of chess pieces 2, and a controller 8;
[0007] The chess piece placement area 1 has a plurality of squares 11, each of which is provided with a plurality of detection buttons 12 and an LED light 14, and the layout of the detection buttons 12 of the plurality of squares is consistent;
[0008] A plurality of chess pieces 2, each of which is provided with a detection hole 21 and an LED groove hole 23 at the bottom; the chess pieces are distinguished by marking different numbers on the top of the chess pieces and different detection hole layouts on the bottom; when the chess pieces are placed in the square, the LED lights enter the LED groove holes 23 accordingly, and when any detection hole position of the chess pieces corresponds to any detection button in the square, the detection button enters the corresponding detection hole without being compressed and triggered; a light-transmitting gap is left between the side of the square close to the LED light and the chess piece, or the chess piece is light-transmitting in the vertical direction corresponding to the position of the LED light;
[0009] The controller 8 has a multi-channel signal acquisition input terminal, which is respectively connected to the sensor signal output terminals of the multiple detection buttons in each square, and is used to detect the triggering state of the detection button 12 in the square 11 in real time to determine which chess piece is placed in the current square; the control signal input terminal of the LED lamp is electrically connected to the control signal output terminal of the controller;
[0010] The method comprises the following steps:
[0011] In response to the user's first chess piece placement input, based on a preset Sudoku puzzle, controlling the LED lights corresponding to each square in the plurality of squares to display a color corresponding to the puzzle number;
[0012] After the first chess piece is placed in the grid, the current number corresponding to the first chess piece is determined through the multiple detection buttons 12 in the grid, and the correctness of the first chess piece is automatically detected according to the current number corresponding to the first chess piece. If it is correct, the LED light in the grid goes out; if it is wrong, the LED light in the grid starts to flash, prompting the user that the first chess piece is placed incorrectly and should be readjusted;
[0013] When the user places the second chess piece in the grid, the placement status of the first chess piece and the second chess piece is detected in real time through a plurality of detection buttons 12 in the grid;
[0014] In response to the user's prompt input, based on the preset answer corresponding to the preset Sudoku problem, the LED light corresponding to at least one of the squares is controlled to display different colors to guide the user to place the chess pieces;
[0015] In response to the user's game detection input, the placement status of the first chess piece and the second chess piece at the current moment is detected as a whole and compared with the preset answer. If the answer is correct, the chess piece placement area flashes as a whole. If the answer is wrong, the color of the correct answer flashes in the wrong square.
[0016] In the above solution, optionally, three independently triggered detection buttons 12 are provided in each of the squares 11;
[0017] For chess pieces 2 with different numbers, different combinations of detection buttons 12 are triggered to realize the recognition of the numbers corresponding to the chess pieces 2.
[0018] In the above solution, optionally, the color display of the LED light includes:
[0019] Prompt the color of the position where the first chess piece or the second chess piece is placed;
[0020] A flashing color indicating that the first chess piece and / or the second chess piece is placed incorrectly;
[0021] The overall flashing color of the chess piece placement area at the end of the game.
[0022] In the above solution, optionally, during the process of the user placing the second chess piece in the square, after the placement status of the first chess piece and the second chess piece is detected in real time by using a plurality of detection buttons 12 in the square, the method further includes:
[0023] If the first chess piece falls, the LED light on the square corresponding to the fallen first chess piece is controlled to flash to remind the user that the first chess piece has fallen.
[0024] In the above solution, optionally, in response to the user's prompt input, based on a preset answer corresponding to a preset Sudoku question, controlling the LED light corresponding to at least one of the squares to display different colors to guide the user to place the chess pieces includes:
[0025] In response to the user's prompt input, for the blank squares on the chess piece placement area where no chess pieces are placed, controlling the LED lights corresponding to the blank squares to display the corresponding colors corresponding to the blank squares in the preset answer;
[0026] For a square on the chess piece placement area where an error is placed, the LED light corresponding to the square where the error is placed is controlled to flash the color of the correct answer;
[0027] According to the placement status of the first chess piece and the second chess piece in the row, column, and area of the chess piece placement area, the user is prompted with a square position that can be judged.
[0028] In the above scheme, optionally, in response to the game detection input of the user, the placement status of the first chess piece and the second chess piece at the current moment is detected as a whole, and compared with the preset answer. If the answer is correct, the chess piece placement area flashes as a whole, and if the answer is wrong, the color of the correct answer flashes in the wrong square, including:
[0029] After detecting that all squares have the first chess piece or the second chess piece placed therein, responding to a game detection input from the user;
[0030] Read the current answer of the chess piece placement area and compare it with the preset answer;
[0031] If the current answer is inconsistent with the preset answer, the current answer is determined according to the Sudoku rules; if the current answer is wrong, the color of the correct answer flashes in the corresponding wrong square, and the game ends after the user corrects the answer;
[0032] If the current answer is consistent with the preset answer, the chess piece placement area will flash as a whole and the game will end.
[0033] In a second aspect, an intelligent Sudoku chess game device is provided, the device comprising:
[0034] A first control module is used to respond to a first chess piece placement input by a user and control an LED light corresponding to each square in a plurality of squares to display a color corresponding to a number in the problem based on a preset Sudoku problem;
[0035] The determination module determines the current number corresponding to the first chess piece through a plurality of detection buttons 12 in the square after the first chess piece is placed in the square, and automatically detects whether the first chess piece is correct or not according to the current number corresponding to the first chess piece. If it is correct, the LED light in the square goes out; if it is wrong, the LED light in the square starts to flash, prompting the user that the first chess piece is placed incorrectly and should be readjusted;
[0036] A first detection module, used for detecting the placement status of the first chess piece and the second chess piece in real time through a plurality of detection buttons 12 in the square when the user places the second chess piece in the square;
[0037] A second control module is used to control the LED light corresponding to at least one of the squares to display different colors based on the preset answer corresponding to the preset Sudoku problem in response to the user's prompt input, so as to guide the user to place the chess pieces;
[0038] The second detection module is used to respond to the user's game detection input, perform an overall detection on the placement status of the first chess piece and the second chess piece at the current moment, and compare it with the preset answer. If the answer is correct, the chess piece placement area will flash as a whole. If the answer is wrong, the color of the correct answer will flash in the wrong square.
[0039] In a third aspect, a computer device includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0040] In response to the user's first chess piece placement input, based on a preset Sudoku puzzle, controlling the LED lights corresponding to each square in the plurality of squares to display a color corresponding to the puzzle number;
[0041] After the first chess piece is placed in the grid, the current number corresponding to the first chess piece is determined through the multiple detection buttons 12 in the grid, and the correctness of the first chess piece is automatically detected according to the current number corresponding to the first chess piece. If it is correct, the LED light in the grid goes out; if it is wrong, the LED light in the grid starts to flash, prompting the user that the first chess piece is placed incorrectly and should be readjusted;
[0042] When the user places the second chess piece in the grid, the placement status of the first chess piece and the second chess piece is detected in real time through a plurality of detection buttons 12 in the grid;
[0043] In response to the user's prompt input, based on the preset answer corresponding to the preset Sudoku problem, the LED light corresponding to at least one of the squares is controlled to display different colors to guide the user to place the chess pieces;
[0044] In response to the user's game detection input, the placement status of the first chess piece and the second chess piece at the current moment is detected as a whole and compared with the preset answer. If the answer is correct, the chess piece placement area flashes as a whole. If the answer is wrong, the color of the correct answer flashes in the wrong square.
[0045] In a fourth aspect, a computer program product comprises a computer program / instruction, wherein when the computer program / instruction is executed by a processor, the following steps are implemented:
[0046] In response to the user's first chess piece placement input, based on a preset Sudoku puzzle, controlling the LED lights corresponding to each square in the plurality of squares to display a color corresponding to the puzzle number;
[0047] After the first chess piece is placed in the grid, the current number corresponding to the first chess piece is determined through the multiple detection buttons 12 in the grid, and the correctness of the first chess piece is automatically detected according to the current number corresponding to the first chess piece. If it is correct, the LED light in the grid goes out; if it is wrong, the LED light in the grid starts to flash, prompting the user that the first chess piece is placed incorrectly and should be readjusted;
[0048] When the user places the second chess piece in the grid, the placement status of the first chess piece and the second chess piece is detected in real time through a plurality of detection buttons 12 in the grid;
[0049] In response to the user's prompt input, based on the preset answer corresponding to the preset Sudoku problem, the LED light corresponding to at least one of the squares is controlled to display different colors to guide the user to place the chess pieces;
[0050] In response to the user's game detection input, the placement status of the first chess piece and the second chess piece at the current moment is detected as a whole and compared with the preset answer. If the answer is correct, the chess piece placement area flashes as a whole. If the answer is wrong, the color of the correct answer flashes in the wrong square.
[0051] Compared with the prior art, this application has at least the following beneficial effects:
[0052] Based on further analysis and research of the existing technical problems, the present application recognizes that the existing technology cannot detect the status of chess pieces in real time, the chess pieces and the chessboard cannot be intuitively matched, the process of placing pieces is cumbersome, and it is difficult to quickly adjust the layout of the chessboard. By responding to the user's first chess piece placement input, based on a preset Sudoku problem, the LED lights corresponding to each square in a plurality of squares are controlled to display the color corresponding to the number in the problem; after the first chess piece is placed in the square, the current number corresponding to the first chess piece is determined through a plurality of detection buttons 12 in the square, and the correctness of the first chess piece is automatically detected according to the current number corresponding to the first chess piece. If it is correct, the LED light in the square is turned off; if it is wrong, the LED light in the square is turned on. The ED light starts flashing, prompting the user that the first chess piece is placed incorrectly and should be readjusted; in the process of the user placing the second chess piece in the square, the placement status of the first chess piece and the second chess piece is detected in real time through the multiple detection buttons 12 in the square; in response to the user's prompt input, based on the preset answer corresponding to the preset Sudoku question, the LED light corresponding to at least one square is controlled to display different colors to guide the user to place the chess piece; in response to the user's game detection input, the placement status of the first chess piece and the second chess piece at the current moment is detected as a whole, and compared with the preset answer. If the answer is correct, the chess piece placement area flashes as a whole. If the answer is wrong, the color of the correct answer flashes in the wrong square. The present application provides a method for an intelligent Sudoku chess game, which can self-check the detection holes of the chess pieces placed on the chess piece placement area at high speed, and capture the state changes of the chess pieces at any position without the need for a cumbersome information input process. When using the prompt function or making a final answer judgment, the method will take the current chessboard placement state as the object, rather than based on the internal information stored in the step of placing the chess piece, thereby improving the intelligence level of the method and device. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 A schematic diagram of a flow chart of an intelligent Sudoku chess game method provided in one embodiment of the present application;
[0054] Figure 2 An overall disassembled diagram of a Sudoku game board device provided by one embodiment of the present application;
[0055] Figure 3 A back view of the number pieces 1-6 of a Sudoku game board device provided by one embodiment of the present application;
[0056] Figure 4 A design diagram of a chess piece placement area on a Sudoku game board device provided in one embodiment of the present application;
[0057] Figure 5 An internal design diagram of a chess piece placement grid of a Sudoku game board device provided in one embodiment of the present application;
[0058] Figure 6 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0059] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0060] In one embodiment, Figure 1 As shown, an intelligent Sudoku chess game method is provided, which is applied to an intelligent Sudoku chess device, such as Figure 2-5 As shown, the intelligent Sudoku chess device includes a chess piece placement area 1, a plurality of chess pieces 2 and a controller 8;
[0061] The chess piece placement area 1 has a plurality of squares 11, each of which is provided with a plurality of detection buttons 12 and an LED light 14, and the layout of the detection buttons 12 of the plurality of squares is consistent; a transparent lampshade 15 is provided on the LED light 14, and the transparent lampshade 15 is transparent so that when the LED light presents different colors, the user can view the color of the LED light through the lampshade, wherein the LED light 14 is used to display different colors in the first chess piece or the second chess piece placement stage, prompting the user to place the corresponding digital chess piece, and flashing prompts when the chess piece is placed incorrectly.
[0062] A plurality of chess pieces 2, each of which is provided with a detection hole 21 and an LED groove hole 23 at the bottom; the chess pieces are distinguished by marking different numbers on the top of the chess pieces and different detection hole layouts on the bottom; when the chess pieces are placed in the square, the LED lights enter the LED groove holes 23 accordingly, and when any detection hole position of the chess pieces corresponds to any detection button in the square, the detection button enters the corresponding detection hole without being compressed and triggered; a light-transmitting gap is left between the side of the square close to the LED light and the chess piece, or the chess piece is light-transmitting in the vertical direction corresponding to the position of the LED light;
[0063] The controller 8 has a multi-channel signal acquisition input terminal, which is respectively connected to the sensor signal output terminals of the multiple detection buttons in each square, and is used to detect the triggering state of the detection button 12 in the square 11 in real time to determine which chess piece is placed in the current square; the control signal input terminal of the LED lamp is electrically connected to the control signal output terminal of the controller;
[0064] An intelligent Sudoku chess game method comprises the following steps:
[0065] In response to the user's first chess piece placement input, based on a preset Sudoku puzzle, the LED lights corresponding to each square in the plurality of squares are controlled to display the color corresponding to the puzzle number.
[0066] It should be noted that the first chess piece is a chess piece used to represent the problem number in the preset Sudoku problem.
[0067] For example, the number in the first row and first column of the preset Sudoku puzzle is 6, and the chess piece placed in the chess piece placement area to represent the number 6 is the first chess piece.
[0068] After the first chess piece is placed in the square, the current number corresponding to the first chess piece is determined through the multiple detection buttons 12 in the square, and the correctness of the first chess piece is automatically detected according to the current number corresponding to the first chess piece. If it is correct, the LED light in the square goes out; if it is wrong, the LED light in the square starts to flash, prompting the user that the first chess piece is placed incorrectly and should be readjusted.
[0069] It should be noted that the detection buttons 12 for multiple chess pieces representing the same number are arranged at the same position; the detection buttons 12 for different chess pieces representing different numbers are arranged at different positions.
[0070] When the user places the second chess piece in the grid, the placement status of the first chess piece and the second chess piece is detected in real time through a plurality of detection buttons 12 in the grid.
[0071] It should be noted that the second chess piece is a chess piece used to represent the answer number in the preset Sudoku problem.
[0072] For example, the first row and second column of the preset Sudoku puzzle are blank numbers that need to be filled in by the user, and the chess piece placed in the first row and second column of the chess piece placement area is the second chess piece.
[0073] In response to the user's prompt input, based on the preset answer corresponding to the preset Sudoku problem, the LED light corresponding to at least one of the squares is controlled to display different colors to guide the user to place the chess pieces.
[0074] In response to the user's game detection input, the placement status of the first chess piece and the second chess piece at the current moment is detected as a whole and compared with the preset answer. If the answer is correct, the chess piece placement area flashes as a whole. If the answer is wrong, the color of the correct answer flashes in the wrong square.
[0075] In view of the problems existing in the products currently on the market, this embodiment makes the following improvements:
[0076] In the stage where the built-in embedded system guides the user to place the first chess piece or the second chess piece, the system reminds the user to place the first chess piece or the second chess piece, and the implementation method is as follows:
[0077] During the first or second chess piece placement phase, the LED lights in the chessboard squares will light up and display the corresponding colors according to the different question numbers;
[0078] The user places the corresponding first chess piece or second chess piece on the chessboard according to the color;
[0079] When the first chess piece or the second chess piece is placed, the system will automatically detect whether the first chess piece or the second chess piece is placed correctly. If it is correct, the LED light in the square will go out; if it is wrong, the LED light in the square will start flashing, prompting the user that the first chess piece or the second chess piece is placed incorrectly and should be readjusted;
[0080] In this stage, the complicated process of placing chess pieces is avoided, and the correspondence between the first chess piece or the second chess piece and the position on the chessboard is intuitively displayed. An error prompt function is added when the placement is wrong, thereby solving the key problems existing in the other patents mentioned above.
[0081] In the stage where the user determines the placement of the remaining chess pieces through deduction, the implementation method is as follows:
[0082] Users place digital chess pieces at will according to their own judgment;
[0083] The system reads the chessboard status instantly, quickly updates the internal storage status, and executes the judgment conditions;
[0084] If the first chess piece falls or is placed incorrectly, the system will flash the LED at the corresponding position on the chessboard to serve as an effective reminder;
[0085] In this stage, the lengthy process of inputting chess piece information is avoided, there is no need for complex judgment of the status of chess pieces placed, and a prompt function is added when the first chess piece is placed incorrectly or dropped, thereby solving the key problems existing in the other patents mentioned above.
[0086] Existing patents or related products in the same field often provide cumbersome and complicated Sudoku game methods, including placement guidance, piece identification, piece reminder, and right and wrong judgment stages. A series of inventions applied for by existing products on the market all use passive recognition methods, that is, a certain number of times or a certain length of time is required to manually press the corresponding number. The chess piece recognition method proposed in this embodiment is active recognition, that is, the system can recognize and respond at the moment the chess piece is placed. In addition to the corresponding colors of the chess pieces, the chessboard LED lights in this embodiment also support other types of color display. On this basis, this chessboard can also be used to display other information besides the position of the chess pieces. Based on this point, the mention of using the chessboard to display certain special patterns, or expanding the scheme of displaying colors on the chessboard, should be regarded as the content covered by this patent.
[0087] In this embodiment, three independently triggered detection buttons 12 are arranged in each of the squares 11 ; for chess pieces 2 with different numbers, different combinations of detection buttons 12 are triggered to realize the recognition of the numbers corresponding to the chess pieces 2 .
[0088] In this embodiment, a smart chessboard device capable of real-time detection of placed chess pieces is provided. Figure 2 As shown in the figure, the implementation principle is based on the unique chess piece and chessboard grid design. In each chessboard grid that can be placed, one independently triggered button is placed on the left, top and right sides respectively, and a magnet is placed on the inner side of the center of the grid, and an LED bulb is placed on the bottom side. In contrast, three sets of holes are designed at the corresponding positions at the bottom of each digital chess piece. The left, top and right sides are digital identification holes, and each different number corresponds to a special set of hole positions; the center is the magnet placement hole, which has a magnet that attracts the chessboard; the bottom side is the LED groove hole to avoid interference with the LED bulb after the chess piece is placed on the chessboard. When the chess piece is placed, this sticker can ensure that the chess piece fits tightly with the chessboard, thereby triggering the button group on the chessboard. The button groups pressed by different chess pieces are different, which helps the system to distinguish (the maximum number that can support 0-7 is different, and only 0-6 is used here). On this basis, the system can detect the triggering and disconnection of the three buttons in each square in real time, and store the button triggering status in the same row in the internal binary array. By analyzing this array, the system can obtain the chess piece placement at any time, without having to update and detect only after each step like other products on the market. The present invention uses a total of 108 independent keys on the chessboard part, uses an array wiring method similar to keyboard triggering, and uses a total of 24 single-chip microcomputer pins.
[0089] It should be noted that if Figure 2 As shown, the Sudoku game board device further includes a housing 5 and a bottom plate 7, and a speaker 6. The speaker 6 is controlled by a controller 8.
[0090] The present embodiment provides a Sudoku game board device, including a chess piece placement area 1, a multi-function button 4 and a display screen 3. By setting a plurality of squares 11 in the chess piece placement area 1, each square 11 contains a plurality of detection buttons 12, a first magnet 13 and an LED light 14, the chessboard can detect the placement status of the chess piece 2 in real time. The controller 8 analyzes the triggering status of the detection button 12 of each square 11 in real time to ensure the correct placement of the chess piece 2. The display screen 3 provides rich game information and supports touch operation, making the game operation more intuitive and convenient. The multi-function button 4 has two triggering modes, long press and short press, which further simplifies the operation and improves the user experience. In general, the Sudoku game board device improves the intelligence and fun of the game through real-time detection and intelligent interaction, is particularly suitable for early intellectual development of children and prevention of dementia for the elderly, and has broad market prospects.
[0091] In this embodiment, if Figure 4 and Figure 5 As shown, three detection buttons 12 are arranged in each square 11 of the chess piece placement area 1 , and the three detection buttons 12 are respectively located on the left side, the upper side and the right side of the square 11 .
[0092] This embodiment realizes the accurate detection function of chess piece 2 by setting three independent detection buttons 12 in each square 11, which are respectively located on the left, top and right sides. This design allows the system to accurately determine the position and value of chess piece 2 according to the triggering of detection button 12. Compared with the traditional device that needs to press multiple times to determine the information of chess piece 2, this real-time detection greatly simplifies the user's operation steps and reduces the possibility of operation errors. For children and the elderly, this simplified operation method not only increases the playability and fun of the game, but also effectively exercises their logical thinking and hand-eye coordination ability, and plays a role in early education intelligence development and intelligence prevention of dementia.
[0093] In this embodiment, the controller 8 identifies the placement of the chess pieces 2 in real time by analyzing the triggering status of the three detection buttons 12 in each square 11, and stores the triggering status of the detection buttons 12 in the same row in an internal binary array.
[0094] In this embodiment, by storing the triggering states of the three detection buttons 12 in each square 11 in a binary array, the controller 8 can obtain the placement of the chess pieces 2 on the entire chessboard in real time. This method not only improves the detection accuracy of the system, but also simplifies the process of data storage and processing. The system can update and analyze the chessboard state at any time to ensure the fairness and accuracy of the game. This technological breakthrough enables the Sudoku game device to immediately feedback the results after each step of operation, reducing waiting time and improving user experience. For children and the elderly, this can help them continuously get instant feedback during the game, strengthen learning effects, improve thinking ability, and have significant early education and educational effects.
[0095] In this embodiment, the LED light 14 is used to display different colors in the first chess piece 2 placement stage to prompt the user to place the corresponding digital chess piece 2, and to flash to prompt when the chess piece 2 is placed incorrectly.
[0096] In this embodiment, the LED lamp 14 is used to display different colors in the first chess piece 2 placement stage to prompt the user to correctly place the chess piece 2 and the value, thereby effectively reducing the probability of the user placing the chess piece 2 incorrectly when asking questions. The color prompts of the LED lamp 14 are intuitive and easy to understand, allowing the user to quickly find the correct chess piece 2 placement position. This design not only improves the operating efficiency of the game, but also increases the fun and challenge of the game. For children and the elderly, this intuitive prompting method helps to enhance their interest in learning, improve their attention and memory, and plays a role in early education and intelligence.
[0097] In one embodiment, the LED light 14 is used to prompt the accidental drop of the first chess piece 2 and the incorrect placement of the chess piece 2 in the question-posing stage during the game, and to display the correctness of the result after the game is over.
[0098] In the present embodiment, during the game, the LED light 14 is used to prompt the first chess piece 2 to be accidentally dropped or incorrectly placed, and to display the correctness of the result after the game is over. This design ensures the continuity and fluency of the game process. When the user accidentally drops or incorrectly places the chess piece 2, the flashing prompt function of the LED light 14 can correct the error in time to avoid affecting the overall progress of the game. After the game is over, through the display of the LED light 14, the user can intuitively understand the result of his game, which enhances the interactivity and feedback of the game. For children and the elderly, this real-time feedback and error correction mechanism can effectively improve their learning effect and enhance their logical thinking ability and problem-solving ability.
[0099] In this embodiment, the display screen 3 is used to display various information including level information, current power level and the placement status of chess pieces 2 on the chessboard, and supports touch operation.
[0100] In this embodiment, the multi-function button 4 realizes different function settings through two triggering modes: long pressing and short pressing.
[0101] In this embodiment, the controller 8 can detect and record the triggering and disconnection of the detection button 12 in each square 11 during the game, and obtain the placement of the chess piece 2 at any time by analyzing the binary array.
[0102] The controller 8 of this embodiment can detect and record the triggering and disconnection of the detection button 12 in each square 11 in real time, and obtain the placement of the chess piece 2 through the analysis of the binary array. This technology allows the system to update and feedback the placement status of the chess piece 2 at any time to ensure the real-time and accuracy of the game. Users can obtain instant feedback during the game, which improves the interactivity and operating experience of the game. This technology also provides a basis for subsequent game data analysis and function expansion, and improves the intelligence level of the device. For children and the elderly, this real-time feedback mechanism helps them to continuously adjust and optimize their strategies during the game, improve logical thinking and problem-solving skills, and play a role in early education and intelligence.
[0103] In this embodiment, the LED lights 14 of the chess piece placement area 1 can display colors other than the colors corresponding to the chess pieces 2 , and are used to display other information other than the positions of the chess pieces 2 .
[0104] In this embodiment, the second magnet 22 at the bottom of the chess piece 2 and the first magnet 13 in the chessboard square 11 attract each other, ensuring that the chess piece 2 fits tightly against the chessboard, triggering the detection button 12 group for identification.
[0105] In this embodiment, a second magnet 22 is designed at the bottom of the chess piece 2, and the second magnet 22 is attracted to the first magnet 13 in the chessboard square 11, so as to ensure that the chess piece 2 fits tightly with the chessboard, and trigger the detection button 12 group for identification. This design not only improves the stability of the chess piece 2, prevents the chess piece 2 from accidentally moving during the game, but also simplifies the identification process of the chess piece 2. The user only needs to place the chess piece 2 in the square 11, and the system can automatically identify and record the information of the chess piece 2. The design of magnetic adsorption improves the placement accuracy and operation convenience of the chess piece 2, and enhances the fluency and experience of the game. For children and the elderly, this stable and reliable design not only improves their operating experience, but also helps them focus more on the game, improve their logical thinking ability and hand-eye coordination ability, and has the effect of early education and puzzle. This embodiment relates to a Sudoku chess game method for real-time detection and update of the chessboard state, and the internal embedded system involved in it will perform high-speed self-checking on the chessboard button state and capture the state changes of the chess pieces at any position without the need for cumbersome information input process. When using the prompt function or judging whether the final answer is correct, the method takes the current chessboard placement state as the object, rather than the internal information stored in the step of placing the chess pieces, thereby improving the intelligence level of the method and the device.
[0106] In this embodiment, the color display of the LED light includes:
[0107] Prompt the color of the placement position of the first chess piece or the second chess piece;
[0108] A flashing color indicating that the first chess piece and / or the second chess piece is placed incorrectly;
[0109] The overall flashing color of the chess piece placement area at the end of the game.
[0110] This embodiment involves a device design for displaying and prompting in the chess piece placement area, and its implementation principle is based on a unique chess piece and chessboard square design. In each chessboard square where a chess piece can be placed, an LED bulb is placed, and at the corresponding position at the bottom of the chess piece, there is a groove design that can accommodate it, so that it will not interfere when placed on the chessboard. Based on different game processes, the system can control the LED bulb to display different types of information, thereby optimizing the user's game process and experience.
[0111] In this embodiment, during the process of the user placing the second chess piece in the square, after the placement status of the first chess piece and the second chess piece is detected in real time by using a plurality of detection buttons 12 in the square, the method further includes:
[0112] If the first chess piece falls, the LED light on the square corresponding to the fallen first chess piece is controlled to flash to remind the user that the first chess piece has fallen.
[0113] In this embodiment, in response to the user's prompt input, based on the preset answer corresponding to the preset Sudoku problem, controlling the LED light corresponding to at least one of the squares to display different colors to guide the user to place the chess pieces includes:
[0114] In response to the user's prompt input, for the blank squares on the chess piece placement area where no chess pieces are placed, controlling the LED lights corresponding to the blank squares to display the corresponding colors corresponding to the blank squares in the preset answer;
[0115] For a square on the chess piece placement area where an error is placed, the LED light corresponding to the square where the error is placed is controlled to flash the color of the correct answer;
[0116] According to the placement status of the first chess piece and the second chess piece in the row, column, and area of the chess piece placement area, the user is prompted with a square position that can be judged.
[0117] In this embodiment, during the stage of reminding the user to place a move according to the user's needs during the game process, the system provides the following three reminder methods in the function of reminding the user to place a move according to the user's needs during the game process, and one or more combinations thereof can be selected as needed to help the user complete the game process.
[0118] Method 1: Detect the blank squares on the current chessboard where no chess pieces are placed, and randomly select one of the positions so that its square displays the color corresponding to the answer chess piece;
[0119] Method 2: Check whether there is an incorrect square on the current chess piece, and if so, point it out by flashing;
[0120] Method 3: Based on the current chess piece placement status in the chessboard row, column, and area, prompt the user to make a judgment on the square position.
[0121] In this stage, a variety of prompt methods are proposed to avoid interrupting the user's thinking as much as possible, reduce the restrictions and dependence on the question bank, and avoid the interference of possible erroneous chess pieces on this function, thereby solving the key problems existing in other patents mentioned above.
[0122] In this embodiment, in response to the game detection input of the user, the placement status of the first chess piece and the second chess piece at the current moment is detected as a whole, and compared with the preset answer. If the answer is correct, the chess piece placement area flashes as a whole, and if the answer is wrong, the color of the correct answer flashes in the wrong square, including:
[0123] After detecting that all squares have the first chess piece or the second chess piece placed therein, responding to a game detection input from the user;
[0124] Read the current answer of the chess piece placement area and compare it with the preset answer;
[0125] If the current answer is inconsistent with the preset answer, the current answer is determined according to the Sudoku rules; if the current answer is wrong, the color of the correct answer flashes in the corresponding wrong square, and the game ends after the user corrects the answer;
[0126] If the current answer is consistent with the preset answer, the chess piece placement area will flash as a whole and the game will end.
[0127] In this embodiment, during the stage where the system detects the game answer, the implementation method is as follows:
[0128] When the system detects that all squares have chess pieces placed, it enters the answer determination state;
[0129] The system reads the current board state and compares it with the answer matrix;
[0130] If it is inconsistent with the answer matrix, it will be judged according to the Sudoku rules to avoid multiple solutions to the same problem;
[0131] If the answer is correct, the entire board will flash and the game will end;
[0132] If the answer is wrong, the color of the correct answer will flash in the corresponding square, and the game ends when the user corrects it;
[0133] In this stage, an answer detection implementation method is proposed to avoid interrupting the user's thinking as much as possible, avoid the possibility of multiple solutions to a question, and does not rely on the question information stored in the previous stage. Compared with other similar patents or products, this stage has higher intelligence.
[0134] This embodiment provides a method for providing an intelligent Sudoku game: compared with existing products and similar patents on the market, this method proposes innovative effects in important functions such as placement guidance, chess piece identification, drop reminder, right and wrong judgment, solves fundamental problems, and optimizes the operation process. This feature greatly improves the intelligence and applicability of such products, reduces the difficulty of use and the complexity of operation, and makes the device, storage medium and product included in this patent have a wider application scenario. During the entire game process, the present invention can achieve "put and identify" without the user having to perform complicated additional operations. At the same time, the design has a simple trigger mechanism, a reliable trigger principle, does not introduce complex external parts, does not increase the number of external interfaces of the single-chip microcomputer, and has controllable costs. Compared with other products, it has a significant improvement in effect, realizes an intelligent chessboard design, provides a conditional basis for diversified game functions, and has a huge technical improvement in similar products. Compared with existing products on the market, this design can intuitively reflect the relationship between the system-indicated chess pieces and the currently placed chess pieces. Compared with the external screen display, users can skip the comparison step and directly associate the chessboard squares with the chess pieces, making functions such as right and wrong judgment and placement error reminders more obvious. This design effectively improves the effectiveness and significance of information expression, facilitates user understanding and acceptance, and improves interactive intelligence. There is no similar design in similar products. Compared with other similar solutions that store the chessboard status statically, this internal architecture enables this patent to more quickly identify the actual placement status of the current chessboard, and call and analyze other functions with the latest status, greatly reducing the possibility of misoperation due to unupdated status, reducing the actual operation restrictions of users, and improving the ease of use and intelligence of the products included in this patent.
[0135] In one embodiment, an intelligent Sudoku game device is provided, comprising the following program modules:
[0136] A first control module is used to respond to a first chess piece placement input by a user and control an LED light corresponding to each square in a plurality of squares to display a color corresponding to a number in the problem based on a preset Sudoku problem;
[0137] The determination module determines the current number corresponding to the first chess piece through a plurality of detection buttons 12 in the square after the first chess piece is placed in the square, and automatically detects whether the first chess piece is correct or not according to the current number corresponding to the first chess piece. If it is correct, the LED light in the square goes out; if it is wrong, the LED light in the square starts to flash, prompting the user that the first chess piece is placed incorrectly and should be readjusted;
[0138] A first detection module, used for detecting the placement status of the first chess piece and the second chess piece in real time through a plurality of detection buttons 12 in the square when the user places the second chess piece in the square;
[0139] A second control module is used to control the LED light corresponding to at least one of the squares to display different colors based on the preset answer corresponding to the preset Sudoku problem in response to the user's prompt input, so as to guide the user to place the chess pieces;
[0140] The second detection module is used to respond to the user's game detection input, perform an overall detection on the placement status of the first chess piece and the second chess piece at the current moment, and compare it with the preset answer. If the answer is correct, the chess piece placement area will flash as a whole. If the answer is wrong, the color of the correct answer will flash in the wrong square.
[0141] The specific implementation content of each module can be found in the above definition of the intelligent Sudoku chess game method, which will not be repeated here.
[0142] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 6 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. The processor of the computer device is used to provide computing and control capabilities, and the network interface is used to communicate with an external terminal through a network connection. The computer device implements the above-mentioned intelligent Sudoku chess game method by loading and running a computer program.
[0143] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0144] In one embodiment, a computer program product is also provided, including a computer program / instruction, which, when executed by a processor, involves all or part of the process in the above-mentioned embodiment method.
[0145] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
Claims
1. An intelligent Sudoku game method, It is characterized in that The method is applied to an intelligent Sudoku chess device, which includes a chess piece placement area, a plurality of chess pieces and a controller; The chess piece placement area has a plurality of squares, each of which is provided with a plurality of detection buttons and an LED light, and the layout of the detection buttons of the plurality of squares is consistent; A plurality of chess pieces, each of which is provided with a detection hole and an LED groove hole at the bottom; the chess pieces are distinguished by marking different numbers on the top of the chess pieces and different detection hole layouts at the bottom; when the chess pieces are placed in the square, the LED lights enter the LED groove holes accordingly, and when any detection hole position of the chess pieces corresponds to any detection button in the square, the detection button enters the corresponding detection hole without being compressed and triggered; a light-transmitting gap is left between the side of the square close to the LED light and the chess piece, or the chess piece is light-transmitting in the vertical direction corresponding to the position of the LED light; The controller has a multi-channel signal acquisition input terminal, which is respectively connected to the sensor signal output terminals of the multiple detection buttons in each square, and is used to detect the triggering state of the detection buttons in the square in real time to determine which chess piece is placed in the current square; the control signal input terminal of the LED lamp is electrically connected to the control signal output terminal of the controller; The method comprises the following steps: In response to the user's first chess piece placement input, based on a preset Sudoku puzzle, controlling the LED lights corresponding to each square in the plurality of squares to display a color corresponding to the puzzle number; After the first chess piece is placed in the square, the current number corresponding to the first chess piece is determined through a plurality of detection buttons in the square, and the correctness of the first chess piece is automatically detected according to the current number corresponding to the first chess piece. If it is correct, the LED light in the square goes out; if it is wrong, the LED light in the square starts to flash, prompting the user that the first chess piece is placed incorrectly and should be readjusted; When the user places the second chess piece in the square, the placement status of the first chess piece and the second chess piece is detected in real time through a plurality of detection buttons in the square; In response to the user's prompt input, based on the preset answer corresponding to the preset Sudoku problem, the LED light corresponding to at least one of the squares is controlled to display different colors to guide the user to place the chess pieces; In response to the user's game detection input, the placement status of the first chess piece and the second chess piece at the current moment is detected as a whole and compared with the preset answer. If the answer is correct, the chess piece placement area flashes as a whole. If the answer is wrong, the color of the correct answer flashes in the wrong square.
2. The intelligent Sudoku chess game method according to claim 1, It is characterized in that Three independently triggered detection buttons are arranged in each of the squares; For chess pieces with different numbers, different combinations of detection buttons are triggered to recognize the numbers corresponding to the chess pieces.
3. The intelligent Sudoku chess game method according to claim 1, It is characterized in that The color display of the LED light includes: Prompt the color of the position where the first chess piece or the second chess piece is placed; A flashing color indicating that the first chess piece and / or the second chess piece is placed incorrectly; The overall flashing color of the chess piece placement area at the end of the game.
4. The intelligent Sudoku chess game method according to claim 1, It is characterized in that In the process of the user placing the second chess piece in the square, after the placement status of the first chess piece and the second chess piece is detected in real time by using a plurality of detection buttons in the square, the method further includes: If the first chess piece falls, the LED light on the square corresponding to the fallen first chess piece is controlled to flash to remind the user that the first chess piece has fallen.
5. The intelligent Sudoku chess game method according to claim 1, It is characterized in that In response to the user's prompt input, based on the preset answer corresponding to the preset Sudoku problem, controlling the LED light corresponding to at least one of the squares to display different colors to guide the user to place the chess pieces, including: In response to the user's prompt input, for the blank squares on the chess piece placement area where no chess pieces are placed, controlling the LED lights corresponding to the blank squares to display the corresponding colors corresponding to the blank squares in the preset answer; For a square on the chess piece placement area where an error is placed, the LED light corresponding to the square where the error is placed is controlled to flash the color of the correct answer; According to the placement status of the first chess piece and the second chess piece in the row, column, and area of the chess piece placement area, the user is prompted with a square position that can be judged.
6. The intelligent Sudoku chess game method according to claim 1, It is characterized in that In response to the game detection input of the user, the placement status of the first chess piece and the second chess piece at the current moment is detected as a whole, and compared with the preset answer. If the answer is correct, the chess piece placement area flashes as a whole, and if the answer is wrong, the color of the correct answer flashes in the wrong square, including: After detecting that all squares have the first chess piece or the second chess piece placed therein, responding to a game detection input from the user; Read the current answer of the chess piece placement area and compare it with the preset answer; If the current answer is inconsistent with the preset answer, the current answer is determined according to the Sudoku rules; if the current answer is wrong, the color of the correct answer flashes in the corresponding wrong square, and the game ends after the user corrects the answer; If the current answer is consistent with the preset answer, the chess piece placement area will flash as a whole and the game will end.
7. An intelligent Sudoku chess game device, It is characterized in that include: A first control module is used to respond to a first chess piece placement input by a user and control an LED light corresponding to each square in a plurality of squares to display a color corresponding to a number in the problem based on a preset Sudoku problem; a determination module, after the first chess piece is placed in the square, determines the current number corresponding to the first chess piece through a plurality of detection buttons in the square, and automatically detects whether the first chess piece is correct according to the current number corresponding to the first chess piece, and if it is correct, the LED light in the square is turned off; If it is an error, the LED light in the square starts flashing, prompting the user that the first chess piece is placed incorrectly and should be readjusted; A first detection module, used for detecting the placement status of the first chess piece and the second chess piece in real time through a plurality of detection buttons in the square when the user places the second chess piece in the square; A second control module is used to control the LED light corresponding to at least one of the squares to display different colors based on the preset answer corresponding to the preset Sudoku problem in response to the user's prompt input, so as to guide the user to place the chess pieces; The second detection module is used to respond to the user's game detection input, perform an overall detection on the placement status of the first chess piece and the second chess piece at the current moment, and compare it with the preset answer. If the answer is correct, the chess piece placement area will flash as a whole. If the answer is wrong, the color of the correct answer will flash in the wrong square.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer program product comprising a computer program / instructions, It is characterized in that When the computer program / instructions are executed by a processor, the steps of the method according to claims 1-6 are implemented.
