fixed index.js
fixed conflicts
additional logic in index.js)
index.js
Merge branch 'master' of https://github.com/Alchemist0823/BitGame