Run the following two lines of code in SAS 9, and open the link in the log, to stream a html page with an embedded Sonic The Hedgehog game!
filename playme url "https://raw.githubusercontent.com/allanbowe/sonic/master/sonic.sas";
%inc playme;
This project is just a bit of fun and a minimalist demonstration of using the SASjs framework to stream web apps from SAS.
You can run the sonic.sas
file directly in SAS to create the Web Services, or you can use the sasjs-cli
tool to auto deploy). Just run the following commands:
npm install
sasjs auth
sasjs cbd -t [yourtarget]
Please note that the streamed game is actually sourced in an iframe from a third party provider (https://funhtml5games.com/?embed=sonic), and may not work if you have a restricted content-security-policy.