![]() ![]() ![]() The gray part of the picture uses QWidget as the carrier of the entire game.The n-puzzle layout design is shown in the below picture.Installing collected packages: PyQt5-sip, PyQt5-Qt5, PyQt5 Open a terminal and run the command pip install PyQt5 to install PyQt5. ![]() This example uses PyQt5 for design and implementation, but the most important is the algorithm, after learned the algorithm, you can use PyGame or Tkinter to implement the game also. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |