Why 1999 Quake 3 Netcode Belongs in Every CS Degree
Tariq10x
View ChannelAbout
Software Architect / Software Lead with experience in embedded systems and industries like aerospace, medical, and automotive. I’ve worked for companies in the USA and Europe, leading teams from around the world. Author of a peer-reviewed paper on optimization algorithms in physical optics. On this channel, I share coding insights, software engineering experiences, and the occasional dose of sarcasm. I am solely writing, recording and editing all these videos while also working full time. So, enjoy some genuine human insights! (c) Tariq10x 2024 Please don’t reupload or archive my videos without permission. Reaction videos and other transformative content are absolutely welcome! If you're interested in licensing a video for commercial purposes, feel free to reach out via email. For business and sponsor inquiries use my channel email. Try out Scrimba and get 20% OFF the Pro plans with my link: https://scrimba.com/?via=Tariq10x Thanks for supporting the channel and keeping it fun!
Latest Posts
Video Description
To learn for free on Brilliant, go to https://brilliant.org/Tariq10x/ . You’ll also get 20% off an annual premium subscription. Hey everyone, I just want to take a moment to thank you for the ongoing support over this past year. Your constructive criticism has genuinely helped me improve the format with each video, whether it's the pacing, jokes, the code walkthroughs, or how I explain complex concepts. I've been continuously upgrading my setup and experimenting with new ideas, and I'd love to hear what you think about the new format. Thanks everyone! Now enjoy the video, Tariq In this video Im gonna talk about how Quake 3's netcode changed gaming forever. In 1999, id Software faced an impossible challenge: create a multiplayer-only arena shooter that runs smoothly on dial-up internet. The solution? Build a networking system so revolutionary that we're still using the same techniques 25+ years later. This deep dive explores the legendary Quake 3 netcode - from snapshot systems and delta compression to client-side prediction and why they chose UDP over TCP. Every CS student should study this masterclass in fundamental engineering. What we cover: -The impossible triangle: bandwidth, latency, and reliability -Potentially Visible Sets (PVS) for spatial optimization -Delta compression and the elegant field table system -Huffman compression tailored for game data -Client-side prediction and living in your own timeline -Interpolation/extrapolation for smooth visuals -Why UDP beats TCP for real-time games -The circular snapshot buffer approach Help me get better equipment: https://www.patreon.com/tariq10x/ https://x.com/realtariq10x My Equipment: Keyboard: https://amzn.to/4nnCw6V Drawing Tablet: https://amzn.to/3FY1BEM Microphone: https://amzn.to/4emo9vn Sources: https://www.jfedor.org/quake3/ https://www.ra.is/unlagged/network.html https://fabiensanglard.net/quake3/network.php https://figshare.swinburne.edu.au/articles/report/Quake_III_Arena_game_structures/26254658 https://mrelusive.com/publications/papers/The-DOOM-III-Network-Architecture.pdf Quake 3 Arena Github: https://github.com/id-Software/Quake-III-Arena If you like the content hit subscribe to support the channel. 00:00 Quake 3 01:38 Problems 04:11 Client Server Architecture 09:12 Bandwidth Challenge 09:36 PVS 14:27 Delta Compression 28:33 Huffman Compression 36:52 Latency 39:17 Client-Side Prediction 43:11 Interpolation 46:00 UDP Reliable Messages 52:43 Conclusion This video was sponsored by Brilliant Song Credits: ------------------------------------------------------------------------------------------------------------------- All songs Licensed under Creative Commons: By Attribution 4.0 License -------------------------------------------------------------------------------------------------------------------
Gaming Setup Upgrades
AI-recommended products based on this video

PC Gaming Headset Headphone Hook Holder Hanger Mount, Headphones Stand with Adjustable & Rotating Arm Clamp, Under Desk Design, Universal Fit, Built in Cable Clip Organizer EURPMASK

Ozeino Gaming Headset for Ps5 Ps4 PC, Over Ear Gaming Headphones with Noise Cancelling Microphone RGB Light, Deep Bass Stereo Sound Headset for Xbox Series X/S, Switch, Laptop, Mac, Phone

Turtle Beach Stealth 600 Wireless Multiplatform Amplified Gaming Headset for Xbox Series X|S, Xbox One, PC, PS5, PS4, Nintendo Switch, & Mobile – Bluetooth, 80-Hr Battery, Noise-Cancelling Mic – Black

NEW SteelSeries Arctis Nova 3 Multi-Platform Gaming Headset - Signature Arctis Sound - ClearCast Gen 2 Mic - PC, PS5/PS4, Xbox Series X|S, Switch, Mobile

Corsair Vengeance LPX 32GB (2 X 16GB) DDR4 3200 (PC4-25600) C16 1.35V Desktop Memory - Black

acer Nitro 50 N50-620-UA91 Gaming Desktop | 11th Gen Intel Core i5-11400F 6-Core Processor | NVIDIA GeForce GTX 1650 | 8GB DDR4 | 512GB NVMe M.2 SSD | Intel Wi-Fi 6 AX201 | Keyboard and Mouse

NEW SteelSeries Arctis Nova 3 Multi-Platform Gaming Headset - Signature Arctis Sound - ClearCast Gen 2 Mic - PC, PS5/PS4, Xbox Series X|S, Switch, Mobile

New SteelSeries Arctis Nova Pro for Xbox Multi-System Gaming Headset - Premium Hi-Fi Drivers - Hi-Res Audio - 360° Spatial - GameDAC Gen 2 - Quad-DAC - ClearCast Gen 2 Mic - Xbox, PC, PS5/PS4, Switch

Logitech M185 Wireless Mouse, 2.4GHz with USB Mini Receiver, 12-Month Battery Life, 1000 DPI Optical Tracking, Ambidextrous, Compatible with PC, Mac, Laptop - Black

Logitech G203 Wired Gaming Mouse, 8,000 DPI, Rainbow Optical Effect LIGHTSYNC RGB, 6 Programmable Buttons, On-Board Memory, Screen Mapping, PC/Mac Computer and Laptop Compatible - Black

Logitech G305 LIGHTSPEED Wireless Gaming Mouse, Hero 12K Sensor, 12,000 DPI, Lightweight, 6 Programmable Buttons, 250h Battery Life, On-Board Memory, PC/Mac - Black

Logitech G502 HERO High Performance Wired Gaming Mouse, HERO 25K Sensor, 25,600 DPI, RGB, Adjustable Weights, 11 Programmable Buttons, On-Board Memory, PC / Mac, Black

Western Digital 2TB WD Blue SA510 SATA Internal Solid State Drive SSD - SATA III 6 Gb/s, 2.5"/7mm, Up to 560 MB/s - WDS200T3B0A

Portable Air Conditioners, wobuzhi Evaporative Air Cooler with LCD Screen, Fan Speed&Spray, 7 RGB Lights,USB Powered,1-8H Timer, Personal Air Conditioners, Portable Air Conditioners for Home Office

llano RGB Laptop Cooling Pad with Powerful Turbofan Gaming Cooler Radiator with Infinitely Variable Speed, Touch Control, LCD Screen, 3-Port USB Hub, Seal Foam for Notebook Computer 15-19in

Neck Fan with Cooling Plate,Portable Neck Fan Rechargeable Battery Powered,Bladeless Personal Air Conditioner Wearable Neck Cooler Fans,USB Electric Quiet Necklace AC Fans for Travel Outdoor Black




