Game Engine in Erlang