Teaser

Here’s a teaser for a pw I’m working on which will be fully randomly generated, it’s one of its first generated maps.
I’m going to post maps here as it evolves, it should end up being in graal and fully graphical :slight_smile:
Be patient though as this is a very early teaser.

(yes, production of armonston is postponed, probably forever)

Here’s the graphical version… still very buggy (the walls and paths are going berserk) but at least the bugs are more noticeable than in the text version.
Going to sleep now.

lol

If you’re heading toward pics1 levels maybe you’d be best to modify my C++ generator? I hadn’t learned about data structures at that point so there might be a better way than using vectors, but whatever.
http://forums.graal.in/forums/showthread.php?5652-Making-a-level-generator-with-C

I’m already pretty far into the level generating thing, it does about the same as your generator but adds dirt paths too. I still have to duplicate it for every possible settings (swamp, sand, grass, castle, house, snow, forest, ice castle, mine, underground, sky…) but for now I’m working on the world generator, which is a real challenge, unawaited bugs arose. I’m still far from being a programmer fore planning wise.

But what are data structures? and where did you use vectors? I don’t see any?

Vectors are glorified arrays

Oh, to me a vector was a way to calculate a curve.

While I’m not particularly a fan of the standard library’s way of doing it, calling vectors merely “glorified”, as if the significance is irrelevant, is naive. Unless you didn’t intend your post to mean that, in which case why would you word it that way?

To me a vector is a magnitude associated with a direction, you guys are crazy.

To me a vector is an organism that transmits a pathogen from reservoir to host.

From what i remember, vectors just add a few functions to manipulate the data in it.
I do think their significance is irrelevant because i always use standard arrays despite the option of using a vector.

What’s so special about them then?

Container classes, when coded properly (which of course vectors are), guarantee (except under stupid circumstances) that the memory will be freed. This is critical when using exceptions. It also provides a much cleaner way to dynamically allocate memory when using a function with multiple return paths. I also use raw arrays quite often still, but typically when it’s in some small project that doesn’t matter, or the code isn’t complicated.

I can’t wait to dig into all that c++ stuff… garbage collection is a weird bit of the coding world I still can’t phatom.

Just remember to delete your objects, yo. Word.

lol really? Programmers have all these complex sounding concepts that can be explained so simply.
Wikipedia isn’t helping that matter.

Says the dude with the equivalent knowledge of a masters in computer science?

Disposing of objects is super easy in c++, all you have to remember in c++ is to do it. I actually prefer the flexibility to handle my own garbage collection as opposed to java which takes care of it for you.

Just look into decontructors and utilise possibly implemented destroy functions of existing libraries you already use.

I just said my intelligence had equivalence, which means that if I ever got into a situation where computer science knowledge was easy enough to reach… I’d be a computer scientist.

Yah, internet makes it reachable but to really dig into that knowledge, you have to know and remember how concepts are named, concepts which are always explained in terms of other concepts… which you need to understand before you can find the very website of the guy who really understood the concept and can explain it without all the mumbo jumbo. The latter is what needs to be more easily reachable. (Plus my first language isn’t english… so it’s taking me more time read and understand than the average english reader. (French computer science stuff is always full of bullshit))

In other words, if I actually took the course I’m confident I’d ace it. But from my experience so much time is lost during courses and so little important information leaks out of them that it’s not compelling at all. That’s why I said “but I need the damned certificate”. I’d rather loose my time looking for relevant information that loose it waiting for it to come out of someone’s mouth.

The best for me would be to become a computer scientist’s apprentice. But it’s not like it’s even possible.

tl;dr:
If I actually took the course, I’m confident I’d ace it.

Do it then, you’ll be suprised what you learn. Lecturers are/‘should be’ practiced professionals, they’ll tip you on things you never thought of looking into.

My professors aren’t teaching shit, just buy the textbook and work through it. There are plenty of websites with challenges that will push you beyond the scope of any college course. projecteuler.net would be a good place to start.