Back to Browse

Making Snake in Ncurses - Tutorial 9 - User Input (Controlling the Snake and implementing Pause)

2.3K views
Feb 5, 2022
13:38

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.&currency_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

Download

1 formats

Video Formats

360pmp424.4 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Making Snake in Ncurses - Tutorial 9 - User Input (Controlling the Snake and implementing Pause) | NatokHD