For something even cooler (but less readable) here is SF alpha, in js: https://github.com/gamedev8/js-sfa (very faithful to the SF alpha game mechanics)
For something even cooler (but less readable) here is SF alpha, in js: https://github.com/gamedev8/js-sfa (very faithful to the SF alpha game mechanics)