Hello everyone! To inaugurate the opening of these forums, I'm hosting a roguelike programming contest. The objective of this contest is very simple: Write a roguelike random ASCII dungeon generator. If you've never played a roguelike game (and hence have no idea what a roguelike dungeon is), check out one of the following games:
Nethack,
Crawl, or
ADOM.
Here are the rules:
1) You may use any programming language you like.
2) Your dungeon should be 80x48 in size.
3) Your dungeon should be randomly generated.
4) Your dungeon does not strictly have to be a dungeon -- you can do a town generator, city generator, countryside, or whatever you want to do.
5) Your dungeon should be output to an HTML file. You can use the TT HTML element to do monospaced formatting.
6) You may create any style of dungeon you like.
7) Your source code should not use any 3rd party libraries (eg. Curses, SDL, etc...). Since your output is an .HTML file, you shouldn't need them.
8) You may enter multiple submissions.
9) To submit a project,
attach the following to a response to this post:
- Up to three of your best dungeons as one attachment.
- Your source code as another attachment (optional, but recommended).
Everyone who makes a submission will receive the custom forum title "Dungeoneer" and a .gif challenger trophy to post on their bios. One winner will be chosen, and that person will receive a custom forum title of their choice. Obviously, the stakes are not that high.
The primary point is to have fun with this, and see what kind of cool dungeons everyone can generate. This is the perfect opportunity to stretch your brain, flex your programming skills, try out a new language you’ve always been wanting to learn, or try a new algorithm that’s been floating around in the back of your head. Devise your own challenge: see if you can write your generator in under 100 lines of code, or in under 50. Or if you’re a new programmer, see if you can do it at all!
This contest ends: August
512th, 2007 at midnight. I reserve the right to extend the contest for any reason. (Note: The contest deadline has been extended from the 5th to the 12th).
Here is a sample
Dungeon.html.
C++ coders, you can use the following
DungeonGenerator framework to create your dungeons. It includes projects for VC6, Visual Studio 2005 Express, and Code::Blocks for Windows and Linux. All of the code you should need to modify is in BoardGenerator.cpp. The spectacularly crappy "random ruins" dungeon generator is included as a sample.
Good luck to everyone.
List of participants:konijn
Icey
sinoth
gerryq
microwerx
Seventh Holy Scripture (winner)
Final results here:
http://www.dev-spot.com/forums/index.php?topic=4.msg31#msg31