Answer the question
In order to leave comments, you need to log in
How to write a guessing program?
I want to make a program where there will be 5 squares, and behind them different pictures are hidden and, like, the user must guess behind which square the picture he needs will be. Accordingly, after one attempt, the remaining cells open and guess everything again)
How to write this? where to begin? I'm generally a beginner, in what program would it be easier to do this?
Answer the question
In order to leave comments, you need to log in
How to write this? where to begin?
Install Delphi. You create a new project. From the list of components, you throw 5 image components into the window.
Arrange as you like. You select an image and on the left in the properties editor you create an event that occurs when you click on the image.
Next, simple pascal.
Even from scratch, you can do it in 2 hours. And if you knew what and how, then in 10 minutes.
Easier, for example, directly in the browser.
You will need to understand the basics of HTML and JavaScript .
Start by drawing the interface: 5 squares.
Then add minimal interaction: click on the square to show the picture in it.
To ask further questions here, it is more convenient to do all the work online in the jsFiddle editor
How to write this? where to begin?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question