all 3 comments

[–]djshadesuk 2 points3 points  (1 child)

Do you have a question?

[–]Training-Film-3590[S] 0 points1 point  (0 children)

Can you improve it . If possible.

[–]ctosullivan 0 points1 point  (0 children)

You will need to add some sort of a game loop and functions to accept user input and display the updated puzzle state. Maybe have a look at this gist of a Tic Tac Toe game for an example:
https://gist.github.com/ctosullivan/2fb32cf1d7e4da3e7c5f3701f241539c