Potentian use case: The API of DOOM

A project log for micro HTTP server in C

Connect your browser to your smart devices, using a minimalist HTTP compliant server written in POSIX/C

yann-guidon-ygdesYann Guidon / YGDES 08/05/2017 at 10:000 Comments

Jeff Harris made a version of the vintage DOOM game that is controlled by a HTTP link with JSON !

The underlying TCP/IP stack is handled by the SDL framework.

Why is it notable ? Because it's one application that would benefit from the #micro HTTP server in C:

Now, what makes my source code interesting ? Look at the video : each command is written in text. There is a sort of GUI but it's not tailored to the application. OTOH, using a file server allows the developer to also embed a GUI in HTML/JS that makes the interface smoother and more powerful. Instead of writing each command, write JS to handle dynamic HTML elements that react to events in real-time on your browser !