How to add these functions in this program?
1. Map is needed (separate class or just a function in main)
Here's somethin' I have: https://pastebin.com/K2u6C8pN
2. Not necessary, but I would like to see how CPU player is made, like one sprite is under control of player and the other sprite is being controled of CPU.