class: title # Introduction to `ncurses` ## CSC 161 – March 24, 2026 --- # Agenda for Today 1. Department Events 2. Discussion 3. Lab 4. Wrap Up --- # Department Events ## CS Extra: Transparency and Accountability in Online Data .indent[ Thursday, March 26th at 4:15pm in Noyce 3821 Refreshments in the CS Commons at 4pm ] --- class: section blue # Discussion --- # Discussion: Game Loops **Items for think, pair, share:** 1. What is a game loop, and why would we use it in our programs? 2. Which of these is *not* something we should do inside a game loop? - Wait for the user to type a key - Update program state - Display something to the user - Pause until it is time to draw the next frame 3. Describe a program that would be difficult or impossible to write without a game loop, and explain why a game loop is necessary. --- class: section green # Lab Time --- class: section blue # Wrap Up --- # Wrap Up ## No Quiz There will not be a quiz this week. We'll resume regular quizzes next week. ## Mentor Session Want some extra practice? Attend the mentor session from 7–9pm on Wednesday. ## Office Hours I'm happy to meet to discuss how things are going in the class, or to help with specific concepts if you are having trouble. Book a time at
.