├── CONTRIBUTING.md └── README.md /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # CONTRIBUTING GUIDELINES 2 | 3 | * Tutorial(s) should work towards the completion of a small to large project in C 4 | * The use of other programming languages are okay as long as the focus is on C 5 | * Tutorials should be place under the correct category (i.e. a game tutorial would go under the Game Development category) 6 | * If submitting a multi-part series that doesn't include a Table of Contents, submit as follows: 7 | ``` 8 | Title: 9 | * [Part 1](link_to_part_1) 10 | * [Part 2](link_to_part_2) 11 | * [Part 3](link_to_part_3) 12 | ... 13 | ``` 14 | * If submitting a video series link directly to playtlist when possible (i.e. [Learn Video Game Programming in C](https://www.youtube.com/playlist?list=PLT6WFYYZE6uLMcPGS3qfpYm7T_gViYMMt)) 15 | * Mark tutorial(s) with appropriate tags: `book`, `video`, `in-progress`. (i.e. Handmade Hero `video` `in-progress`) 16 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Project Based Tutorials in C 2 | 3 | A list of tutorials that work towards the making of small to large projects in C. 4 | 5 | ## Table of Contents 6 | 7 | * [Computer Networking](#computer-networking) 8 | * [Databases](#databases) 9 | * [Game Development](#game-development) 10 | * [Operating Systems](#operating-systems) 11 | * [Programming Languages](#programming-languages) 12 | * [Uncategorized](#uncategorized) 13 | * [Other Resources](#other-resources) 14 | 15 | ## Computer Networking 16 | 17 | * [Beej's Guide to Network Programming](http://beej.us/guide/bgnet/html/multi/index.html) `book` 18 | * [Learn Socket Programming in C from Scratch](https://www.udemy.com/learn-socket-programming-in-c-from-scratch/) `video` 19 | * [Let's code a TCP/IP stack](http://www.saminiir.com/lets-code-tcp-ip-stack-1-ethernet-arp/) 20 | * [Let's make a NTP Client in C](https://lettier.github.io/posts/2016-04-26-lets-make-a-ntp-client-in-c.html) 21 | * [Multiplayer WebSocket Game server written in C using libuv & libwebsockets & Cocos2d-x-HTML5](http://www.gamedevcraft.com/2016/08/part-1-multiplayer-websocket-game.html) 22 | 23 | ## Databases 24 | 25 | * [Let's Build a Simple Database](https://cstack.github.io/db_tutorial/) 26 | 27 | ## Game Development 28 | 29 | * [Astroids Clone](https://dashgl.com/Astroids/) 30 | * [Brickout Clone](https://dashgl.com/Brickout/) 31 | * [Chess Engine In C](https://www.youtube.com/playlist?list=PLZ1QII7yudbc-Ky058TEaOstZHVbT-2hg) `video` 32 | * [Coding A Sudoku Solver in C](https://www.youtube.com/playlist?list=PLkTXsX7igf8edTYU92nU-f5Ntzuf-RKvW) `video` 33 | * [Coding a Rogue/Nethack RPG in C](https://www.youtube.com/playlist?list=PLkTXsX7igf8erbWGYT4iSAhpnJLJ0Nk5G) `video` 34 | * [Game Engine Black Book: Wolfenstein 3D](https://www.amazon.com/dp/1539692876/) `book` 35 | * [Handmade Hero](https://handmadehero.org/) `video` `in-progress` 36 | * [Handmade Quake](https://www.youtube.com/playlist?list=PLBKDuv-qJpTbCsXHsxcoSSsMarnfyNhHF) `video` `in-progress` 37 | * [Hangman](https://www.youtube.com/playlist?list=PLZ1QII7yudbd2ZHYSEWrSddsvD5PW_r5O) `video` 38 | * [Invaders Clone](https://dashgl.com/Invaders/) 39 | * [How to Program an NES game in C](https://nesdoug.com/) 40 | * [How to Program a Text Adventure in C](https://helderman.github.io/htpataic/htpataic01.html) `in-progress` 41 | * [Learn Video Game Programming in C](https://www.youtube.com/playlist?list=PLT6WFYYZE6uLMcPGS3qfpYm7T_gViYMMt) `video` 42 | * [Let's Make: Dangerous Dave](https://www.youtube.com/playlist?list=PLSkJey49cOgTSj465v2KbLZ7LMn10bCF9) `video` 43 | * [Making 8-bit Arcade Games in C](https://www.amazon.com/dp/1545484759/) `book` 44 | * [Making a Text Adventure Game in C](https://www.youtube.com/watch?v=sLcrmZyWgaM) `video` `in-progress` 45 | * [Simple Tic Tac Toe in C](https://www.youtube.com/playlist?list=PLZ1QII7yudbc7_ZgXA-gIXmME41Rs2GP5) `video` 46 | * [Sudoku Programming with C](https://www.amazon.com/dp/1484209966/) `book` 47 | * [Tic-tac-toe Game in C with SDL](https://www.youtube.com/watch?v=gCVMkKgs3uQ) `video` 48 | 49 | ## Operating Systems 50 | 51 | * [Bitwise](https://github.com/pervognsen/bitwise) `video` `in-progress` 52 | * [Building an Operating System for the Raspberry Pi](https://jsandler18.github.io/) 53 | * [Hack the Virtual Memory](https://blog.holbertonschool.com/hack-virtual-memory-stack-registers-assembly-code/) 54 | * [How to Create an OS from Scratch](https://github.com/cfenollosa/os-tutorial) `in-progress` 55 | * [Learning operating system development using Linux kernel and Raspberry Pi](https://github.com/s-matyukevich/raspberry-pi-os) `in-progress` 56 | * [Let's Write a Malloc](https://danluu.com/malloc-tutorial/) 57 | * Let’s write a Kernel 58 | * [Part 1 - Kernel 101](https://arjunsreedharan.org/post/82710718100/kernel-101-lets-write-a-kernel) 59 | * [Part 2 - Kernel 201](https://arjunsreedharan.org/post/99370248137/kernel-201-lets-write-a-kernel-with-keyboard) 60 | * [Operating Systems Design and Implementation](https://www.amazon.com/dp/0131429388) `book` 61 | * [Operating Systems: From 0 to 1](https://tuhdo.github.io/os01/) `book` 62 | * [The little book about OS development](https://littleosbook.github.io/) `book` 63 | * [Write a Shell in C](https://brennan.io/2015/01/16/write-a-shell-in-c/) 64 | * [Write a Simple Memory Allocator](https://arjunsreedharan.org/post/148675821737/write-a-simple-memory-allocator) 65 | * [Write a System Call](https://brennan.io/2016/11/14/kernel-dev-ep3/) 66 | * [Writing a FUSE Filesystem](https://www.cs.nmsu.edu/~pfeiffer/fuse-tutorial/) 67 | * Writing a Unix Shell 68 | * [Part 1](https://indradhanush.github.io/blog/writing-a-unix-shell-part-1) 69 | * [Part 2](https://indradhanush.github.io/blog/writing-a-unix-shell-part-2) 70 | * [Part 3](https://indradhanush.github.io/blog/writing-a-unix-shell-part-3) 71 | 72 | ## Programming Languages 73 | 74 | * [A Retargetable C Compiler: Design and Implementation](https://www.amazon.com/dp/0805316701/) `book` 75 | * [Baby's First Garbage Collector](http://journal.stuffwithstuff.com/2013/12/08/babys-first-garbage-collector/) 76 | * [Build Your Own Lisp](http://www.buildyourownlisp.com/) `book` 77 | * [Compiler Design in C](https://www.amazon.com/dp/0131550454) `book` 78 | * [Crafting Interpreters](http://www.craftinginterpreters.com/) `book` `in-progress` 79 | * [Implementing a Virtual Machine in C](https://felixangell.com/blog/virtual-machine-in-c) 80 | * [Let's Build a Compiler: A C & x86 version](https://github.com/lotabout/Let-s-build-a-compiler) 81 | * [Modern Compiler Implementation in C](https://www.amazon.com/dp/052158390X/) `book` 82 | * Write a C Interpreter 83 | * [Part 0 - Preface](https://github.com/lotabout/write-a-C-interpreter/blob/master/tutorial/en/0-Preface.md) 84 | * [Part 1 - Skeleton](https://github.com/lotabout/write-a-C-interpreter/blob/master/tutorial/en/1-Skeleton.md) 85 | * [Part 2 - Virtual Machine](https://github.com/lotabout/write-a-C-interpreter/blob/master/tutorial/en/2-Virtual-Machine.md) 86 | * [Part 3 - Lexer](https://github.com/lotabout/write-a-C-interpreter/blob/master/tutorial/en/3-Lexer.md) 87 | * [Part 4 - Top-down Parsing](https://github.com/lotabout/write-a-C-interpreter/blob/master/tutorial/en/4-Top-down-Parsing.md) 88 | * [Part 5 - Variables](https://github.com/lotabout/write-a-C-interpreter/blob/master/tutorial/en/5-Variables.md) 89 | * [Part 6 - Functions](https://github.com/lotabout/write-a-C-interpreter/blob/master/tutorial/en/6-Functions.md) 90 | * [Part 7 - Statements](https://github.com/lotabout/write-a-C-interpreter/blob/master/tutorial/en/7-Statements.md) 91 | * [Part 8 - Expressions](https://github.com/lotabout/write-a-C-interpreter/blob/master/tutorial/en/8-Expressions.md) 92 | * [Writing a Simple Garbage Collector in C](http://maplant.com/gc.html) 93 | * Scheme from Scratch 94 | * [Part 1 - Introduction](http://peter.michaux.ca/articles/scheme-from-scratch-introduction) 95 | * [Part 2 - Integers](http://peter.michaux.ca/articles/scheme-from-scratch-bootstrap-v0_1-integers) 96 | * [Part 3 - Booleans](http://peter.michaux.ca/articles/scheme-from-scratch-bootstrap-v0_2-booleans) 97 | * [Part 4 - Characters](http://peter.michaux.ca/articles/scheme-from-scratch-bootstrap-v0_3-characters) 98 | * [Part 5 - Strings](http://peter.michaux.ca/articles/scheme-from-scratch-bootstrap-v0_4-strings) 99 | * [Part 6 - The Empty List](http://peter.michaux.ca/articles/scheme-from-scratch-bootstrap-v0_5-the-empty-list) 100 | * [Part 7 - Pairs](http://peter.michaux.ca/articles/scheme-from-scratch-bootstrap-v0_6-pairs) 101 | * [Part 8 - Symbols](http://peter.michaux.ca/articles/scheme-from-scratch-bootstrap-v0_7-symbols) 102 | * [Part 9 - Quote](http://peter.michaux.ca/articles/scheme-from-scratch-bootstrap-v0_8-quote) 103 | * [Part 10 - Environments](http://peter.michaux.ca/articles/scheme-from-scratch-bootstrap-v0_9-environments) 104 | * [Part 11 - if](http://peter.michaux.ca/articles/scheme-from-scratch-bootstrap-v0_10-if) 105 | * [Part 12 - Primitive Procedures Part 1](http://peter.michaux.ca/articles/scheme-from-scratch-bootstrap-v0_11-primitive-procedures-part-1) 106 | * [Part 13 - Primitive Procedures Part 2](http://peter.michaux.ca/articles/scheme-from-scratch-bootstrap-v0_12-primitive-procedures-part-2) 107 | * [Part 14 - Lambda the Ultimate](http://peter.michaux.ca/articles/scheme-from-scratch-bootstrap-v0_13-lambda-the-ultimate) 108 | * [Part 15 - Begin](http://peter.michaux.ca/articles/scheme-from-scratch-bootstrap-v0_14-begin) 109 | * [Part 16 - Cond](http://peter.michaux.ca/articles/scheme-from-scratch-bootstrap-v0_15-cond) 110 | * [Part 17 - Let](http://peter.michaux.ca/articles/scheme-from-scratch-bootstrap-v0_16-let) 111 | * [Part 18 - And and Or](http://peter.michaux.ca/articles/scheme-from-scratch-bootstrap-v0_17-and-and-or) 112 | * [Part 19 - Apply](http://peter.michaux.ca/articles/scheme-from-scratch-bootstrap-v0_18-apply) 113 | * [Part 20 - Eval](http://peter.michaux.ca/articles/scheme-from-scratch-bootstrap-v0_19-eval) 114 | * [Part 21 - I/O](http://peter.michaux.ca/articles/scheme-from-scratch-bootstrap-v0_20-io) 115 | * [Part 22 - Standard Library](http://peter.michaux.ca/articles/scheme-from-scratch-bootstrap-v0_21-standard-library) 116 | * [Part 23 - Garbage Collection](http://peter.michaux.ca/articles/scheme-from-scratch-bootstrap-v0_22-garbage-collection) 117 | * [Part 24 - Conclusion](http://peter.michaux.ca/articles/scheme-from-scratch-bootstrap-conclusion) 118 | 119 | ## Uncategorized 120 | 121 | * [A Regular Expression Matcher](https://www.cs.princeton.edu/courses/archive/spr09/cos333/beautiful.html) 122 | * [Build Your Own Text Editor](https://viewsourcecode.org/snaptoken/kilo/) 123 | * [Emulator 101](http://emulator101.com/) 124 | * [How to Write a Video Player in Less Than 1000 Lines](http://dranger.com/ffmpeg/ffmpeg.html) 125 | * [Learn FFmpeg libav the Hard Way](https://github.com/leandromoreira/ffmpeg-libav-tutorial) `in-progress` 126 | * [Linux Containers in 500 Lines of Code](https://blog.lizzie.io/linux-containers-in-500-loc.html) 127 | * [Making a Heap Allocator](https://handmade.network/wiki/2877-tutorial_making_a_heap_allocator) 128 | * [The Audio Programming Book](https://www.amazon.com/Audio-Programming-Book-MIT-Press/dp/0262014467/) `book` 129 | * [The Craft of Text Editing](https://www.amazon.com/dp/1411682971/) `book` 130 | * [Write a hash table in C](https://github.com/jamesroutley/write-a-hash-table) 131 | * [Writing an SVG Library](http://www.code-in-c.com/writing-svg-library-c/) 132 | 133 | ## Other Resources 134 | 135 | * Practice Projects 136 | * [Beginner Projects](https://github.com/jorgegonzalez/beginner-projects) 137 | * [Mega Project List](https://github.com/karan/Projects) 138 | * [The UChicago χ-Projects](http://chi.cs.uchicago.edu/index.html) 139 | * Similar List 140 | * [awesome-diy-software](https://github.com/cweagans/awesome-diy-software) 141 | * [Build Your Own X](https://github.com/danistefanovic/build-your-own-x) 142 | * [Projects-from-Scratch](https://github.com/AlgoryL/Projects-from-Scratch) 143 | * [Project Based Learning](https://github.com/tuvtran/project-based-learning) 144 | * C 145 | * [awesome-c](https://github.com/kozross/awesome-c) 146 | * [Modern C](http://icube-icps.unistra.fr/img_auth.php/d/db/ModernC.pdf) 147 | --------------------------------------------------------------------------------