Jeff Harris made a version of the vintage DOOM game that is controlled by a HTTP link with JSON !
http://1amstudios.com/2017/08/01/restful-doom/
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:
- C source code
- Real-time processing, no lag allowed
- simple set of commands
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 !
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.