Creating a Simple Sudoku Game in C#

  • Context: C# 
  • Thread starter Thread starter rambo3131
  • Start date Start date
  • Tags Tags
    Game Sudoku
Click For Summary
SUMMARY

The discussion focuses on creating a Sudoku game using C#. The user plans to implement a 3x3 Sudoku grid initially, progressing to a full 9x9 grid. The interface includes nine combo boxes and a start button that fills two cells with random values (1, 2, or 3). The user is exploring the backtracking algorithm for Sudoku generation and seeks alternative methods for easier implementation.

PREREQUISITES
  • Basic understanding of C# programming
  • Familiarity with GUI development in C# (Windows Forms)
  • Knowledge of algorithms, specifically backtracking
  • Understanding of Sudoku rules and structure
NEXT STEPS
  • Research C# Windows Forms for GUI development
  • Learn about the backtracking algorithm in depth
  • Explore alternative Sudoku generation techniques, such as constraint satisfaction problems
  • Investigate event handling in C# for button clicks and user interactions
USEFUL FOR

Beginner C# developers, game developers interested in algorithmic challenges, and anyone looking to implement logic-based games.

rambo3131
Messages
18
Reaction score
0
Hi ,I want to generate a sudoku game in c sharp.First I will make 3*3 cells sudoku simple,then whole sudoku (9*9) . I ve added to form 9 commoboxes and a star button.
When ı click the start button , the programme will fill randomly two cells with 1, 2, or 3 .
Then player will fill other empty cells and check its correctness by clicking check button.

Can you give me some hints please since ı ve just started c sharp...
 
Technology news on Phys.org
by the way ı try to use backtracking algorithm .Am ı right ? or can anyone suggest to me easir way to generate sudoku.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
6K
Replies
13
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 25 ·
Replies
25
Views
3K
Replies
7
Views
7K
  • · Replies 1 ·
Replies
1
Views
3K