blender doesnt do that, what you did was download a plugin that allows to use code to be written in the script and export only in certain OS. The code is written in python, many plugins can not go pass python limits thus many people do not use Blender as a game engine.