main menu

I am writing a graphics program using jeopardy. in my game function, it is where the jeopardy board is. where the boxes with actors 200, actors 400, ect. are. If you click the box, (for example, actors 200, and the question is answered, i call the game function again so that it goes back to the board. however, how do i disable the box 'actors 200' so it can not be clicked because it has already been answered.

It'd use a bool array. Start with everything set to false, and set the appropriate cell to true if its associated box is used. You can then check if that bool is true before letting someone select the box.
Last edited on
Topic archived. No new replies allowed.