请问怎么用蓝图做一个数独小游戏 May I ask how to create a Sudoku mini game using blueprints

You are on the right track!

I found this which can be a good start for breaking down the code: How to Create a Sudoku Game in C++ - PDF.co

I would as you said create the 2D array to represent the array. You can use custom data structures or data tables, whatever is the most comfortable for you.

You then need the algorithm, in the link I sent there should be a breakdown for it.

You can then apply various techniques to remove less or more numbers, creating a easy and hard mode.


你走在正确的轨道上!

我发现这可以成为分解代码的良好开始:How to Create a Sudoku Game in C++ - PDF.co

正如您所说,我会创建二维数组来表示数组。 您可以使用自定义数据结构或数据表,只要您觉得最舒服即可。

然后你需要算法,在我发送的链接中应该有它的细分。

然后,您可以应用各种技术来删除更少或更多的数字,从而创建简单和困难模式。

1 Like