Fixed some bugs in the ./shared/GameEngine.js library and added a proof-of-concept code to the repository