Hi Thanks for all these reponses and the feedback, I was doing okay until I decided I wasnt going to have a static map and that I would randomly generate areas, suffice to say I only got a little way with that and randomly generated stuff is much harder then it sounds
Im about to start workimng on it again which is one of the reasons Im luking/posting again
Thanks all
P.S I did read about ncurses but I figured if I go with c or c++ all the way then whatever I learn from the roguelike well because of the nature of C these skills are transferable, ncurses gets a good name from what I have read about it.
Prior to doing my roguelike I ended up doing some research on things like template classes ; I have used classes, inheritance, polymorphism in past programs and all that jazz lol but I hadnt used template classes, looking at various roguelikes source code I saw extensive use of such things so I kinda got bogged down learning this stuff and I initially decided to set myself an exersise as follows:
Read a random map into an array so you have say lots of ####### for walls ,
Next draw random squares, and make then all join until they exactly fill up the screen width and height
So like
Code:
######################
# ## #
#####################
As you can see thats like two rooms perfectly aligned, I wanted to do this all over the screen and near the edges of the screen if the random numbers for length and breadth didnt fit itb would roll another squares dimensions until one did fit, got so far and granted this system would not work for a roguelike but I figured it was a good excersise