I have been playing around with Crafty. This is a very nice open source game engine.
Very easy to learn, and very powerful. I have followed this very nice tutorial.
I had made a few changes:
- Upgrade to Crafty v0.5.4
- Added Ghosts
You can see the source code on my Github.