This game engine was my final project to obtain my bacharel degree in computer science. This was built using Javascript and HTML5. The architecture of the engine was built using the paradigm component-oriented that allows the users to have great flexiability and reusability in their components.
Link to the monograph -> http://www.bc.furb.br/docs/MO/2013/355100_1_1.pdf
Some samples: