In this tutorial, we will be handling the user input and implementing the `processInput()` method. This means we will finally be able to control the snake that we animated in the last tutorial. We will also be implementing a "pause" state as well.
Support the channel: https://www.paypal.com/donate/?business=VZF3RQ3G5CM7N&no_recurring=0&item_name=Helps+support+the+channel+and+keep+me+motivated+to+continue+making+videos.¤cy_code=USD
Previous Video: https://www.youtube.com/watch?v=l0XRPnKwz30
Main ncurses Playlist: https://www.youtube.com/watch?v=lV-OPQhPvSM&list=PL2U2TQ__OrQ8jTf0_noNKtHMuYlyxQl4v
These tutorials assume a basic understanding of C/C++ programming, as well as the ability to use the command line/terminal.
These tutorials also assume you have installed the ncurses library for your operating system. If you haven't installed ncurses, google "install ncurses" plus the name of your operating system (i.e. Mac, Ubuntu, etc.) to find instructions on how to download (I'd supply links, but they may be outdated or dead at some point).
For instructions on how to get ncurses working on Windows (like I have done here) check out my other video: https://youtu.be/DtHO5DBZQHw
For more advanced ncurses tutorials, check out KayOS Code's channel: https://www.youtube.com/user/bryceslashgaming
TIMESTAMPS
00:00 Intro
01:08 Coding
13:13 Outro