M
M
mpvcluuuuub2021-03-21 18:47:33
OOP
mpvcluuuuub, 2021-03-21 18:47:33

Checkers in Qt/C++ What classes would it be better to divide the program into?

To gain some experience, I want to make checkers, I don’t really imagine what classes it would be more rational to break the program into. In terms of functionality, there should be a game mode with a second player (naturally from one device), as well as the ability to play with a computer.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Adamos, 2021-03-21
@mpvcluuuuub

Such things are not sucked out of your finger, especially if you do not know how.
Start writing what you know how to do, and wrap its edges so that all the rest of the code accesses it through a narrow interface, without knowing anything about its inner workings. Architecture can turn out ... especially if you then look at what happened and rewrite it correctly.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question