fix some bugs and commit examples/game