(curl "https://ryjo.codes")outputs to STDIO (as of 05/02/2021):
| Character zethus begins casting breath (1 seconds) | |
| Character zach begins casting breath (1 seconds) | |
| Character ryjo begins casting breath (1 seconds) | |
| Character ryjo breaths. (cooldown 1 seconds) | |
| Character ryjo's hp is currently 80/100 | |
| Character ryjo's hp goes up by 3! | |
| Character zach breaths. (cooldown 1 seconds) | |
| Character zach's hp is currently 90/100 | |
| Character zach's hp goes up by 3! | |
| Character zethus breaths. (cooldown 1 seconds) |
| Character zethus begins casting walk (1 seconds) | |
| Character zach begins casting breath (1 seconds) | |
| Character ryjo begins casting breath (1 seconds) | |
| Character ryjo breaths. (cooldown 1 seconds) | |
| Character ryjo's hp is currently 85/100 | |
| Character ryjo's hp goes up by 3! | |
| Character zach breaths. (cooldown 1 seconds) | |
| Character zach's hp is currently 90/100 | |
| Character zach's hp goes up by 3! | |
| Character zethus walks forward. (cooldown 1 seconds) |
| zethus begins casting walk (1 seconds) | |
| ryjo begins casting eat (5 seconds) | |
| zethus walks forward. (cooldown 1 seconds) | |
| zethus moves from (0, 0) to (0, 1) | |
| zethus cooled down 1 seconds after performing walk and will now decide what to do next... | |
| zethus begins casting breath (1 seconds) | |
| zethus breaths. (cooldown 1 seconds) | |
| zethus's hp is currently 95/100 | |
| zethus's hp goes up by 3! | |
| zethus cooled down 1 seconds after performing breath and will now decide what to do next... |
| body { | |
| display: flex; | |
| height: 100%; | |
| margin: 0; | |
| } | |
| nav { | |
| background-color: #aaa; | |
| flex: 25%; | |
| height: 100%; |
| all: | |
| gcc main.c -lpthread -lrt |
| all: publish resubscribe server subscribe unsubscribe | |
| publish: | |
| gcc publish.c -lrt -o publish | |
| resubscribe: | |
| gcc resubscribe.c -lrt -o resubscribe | |
| server: | |
| gcc server.c -lpthread -lrt -o server | |
| subscribe: | |
| gcc subscribe.c -lrt -o subscribe |
| #include "clips.h" | |
| #include <hiredis.h> | |
| #include <signal.h> | |
| #include <stdbool.h> | |
| #include <stdlib.h> | |
| void INThandler(int sig); | |
| /****************************************/ | |
| /* main: Starts execution of the expert */ |
I used this process to compile a WASM file for CLIPS. This allows me to run CLIPS in the browser! I use this for the Tour of CLIPS I created.