Help! Create a game with ncurses | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Help! Create a game with ncurses

I have to make a game from the console with ncurses, first I have to read from a text file a map with structure and color. Then I have to convert the map to a circular list of double lists, but I still do not know how to start

16th Nov 2018, 1:02 AM
Diego Gongora
Diego Gongora - avatar
3 Answers
0
I started reading the first line of the file by the rows and columns, but I don't know how to convert the datas to a circle list whose nodes has double list
16th Nov 2018, 3:13 AM
Diego Gongora
Diego Gongora - avatar
0
What kind of data are you working with and what is the use of it?
16th Nov 2018, 4:05 AM
Akib
Akib - avatar
0
They are Chars and their use is to draw the console, something like the Google dinosaur when you don't have internet
16th Nov 2018, 4:18 AM
Diego Gongora
Diego Gongora - avatar