Go Down

Topic: Help with a game idea? (Read 528 times) previous topic - next topic

JustDepends

I want to write a code that will ask a user yes or no questions. They will use push buttons to answer yes or no and the questions will be displayed on an LCD screen. What I was thinking of doing was having a variable with a certain value. Every question will affect the value of this variable. And if the variable is a above a certain number it will display a message. It is sort of like a game show I suppose? Now I'm not exactly sure where to start. I have no idea how to change and store the value of a variable. Also how do I make my arduino wait until a button is pushed. I don't know I'm so confused. Can anyone help me get started?

GoForSmoke

I find it harder to express logic in English than in Code.
Sometimes an example says more than many times as many words.


winner10920

From the sounds of it you should also read about progmem and storing string into it and retrieving

Go Up