[Solved] How do you make a certain block of code run based on user input? [closed]
Your if statements won’t work how you expect them to to. Let’s take an example to see why: if(board = true & board != false) This has a number of problems: You don’t need to explicitly compare to true and false. Doing so is considered bad style. if (board) is exactly equivalent to if (board … Read more