RPG MAP | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

RPG MAP

I am making a RPG game and i dont know how exactly the map is going to work. Can someone please help me out?

5th Mar 2019, 11:51 PM
Tania Sajjad
Tania Sajjad - avatar
3 Answers
+ 5
https://code.sololearn.com/cd27b2ddlvN7/?ref=app https://code.sololearn.com/cM0OntoPfmlo/?ref=app These are my two codes with map system
6th Mar 2019, 11:03 AM
Shahil Ahmed
Shahil Ahmed - avatar
+ 5
I actually highly recommend a map array like char map[20][20]; and use it like map[x][y]='@'; And make a function to print the map properly on console
6th Mar 2019, 11:04 AM
Shahil Ahmed
Shahil Ahmed - avatar