code after detecting correct collision rect for computer
Merge https://github.com/pandian4github/CodeNFun