Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 1018 Bytes

README.md

File metadata and controls

29 lines (18 loc) · 1018 Bytes

Sonic on SAS

TL;DR;

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;

SC2 Video

What? Why?

This project is just a bit of fun and a minimalist demonstration of using the SASjs framework to stream web apps from SAS.

How?

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.