Started working on singlePlayer
More singleplaer code added.