#I dont know how to make the buttons correspond to the moves
23 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @somber arch! Please use
/closeor theClose Postbutton above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
in a call?
What are you struggling currently?
I have no way to connect the clicking of the buttons to the game logic
You mean you can't figure out what to do on each button click?
Like write the logic on button click
what u say makes no sense
all of ur game logic is mixed up with the display
so its alrdy connected to the buttons?
(it shouldnt be, but it is)
the proper way to do this is to program the game so it works
add interfaces as seperators between the game and the display
and then program the display to operate through the interfaces
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use/help ping.
Warning: abusing this will result in moderative actions taken against you.
design patterns?
"The Model-View-Controller (MVC) design pattern is a software design pattern that divides the related program logic into three interconnected elements: the model, the view, and the controller
2
. The MVC pattern is used for developing user interfaces, especially web applications, because it allows the application to be scalable, maintainable, and easy to expand
1
."
Sounds like I've been needing this for the last 2 years