Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Writing a roguelike game

Name: Anonymous 2009-06-24 12:16

So, I'm thinking about writing a roguelike game. I know there are a shitton of threads about it, my question is different: is curses still a good choice? More modern alternatives? Should I go C or C++? Also, willing to listen to suggestions regarding the project.

Name: Anonymous 2009-06-24 12:41

SDL

Name: Anonymous 2009-06-24 12:45

There's no point in using graphics, if it's a roguelike then it will still look like a roguelike.
C or Sepples is your choice really.

Name: Anonymous 2009-06-24 12:47

Use C and ncurses. This is coming from an expert ncurses programmer.

Name: Anonymous 2009-06-24 12:50

I'd use Perl and ncurses, simply because it Just WorksTM

Name: Anonymous 2009-06-24 12:57

embed lua in C, logic in lua, display in ncurses, thread over

Name: Anonymous 2009-06-24 13:01

Don't bother with this sepples shit.

Do it in C#, then you can still use curses, but you also have the optional of employing some non-1980 technology, like real type safety and some functional programming techniques.

Name: Anonymous 2009-06-24 13:08

>>5
Perl is for bash one-liners for people that can't use sed, silly.

Name: Anonymous 2009-06-24 13:29

sed is touring complete

Name: Anonymous 2009-06-24 13:42

>>8
Perl is for bash one-liners
HMHIBT?

Name: Anonymous 2009-06-24 14:46

i initially thought that you meant rougelike as in the program is going to steal portions of resources until theres not enough; it would then copy itself to System32 and become a terrible viri.
but then i read what you wrote. needless to say i was dissapoint you cunt

Name: Anonymous 2009-06-24 17:20

Lisp and Ncurses or SDL (if you're a tilesfag). How could there be other choices?

>>11
rougelike
Why would a “redlike” do that?

Name: Anonymous 2009-06-24 17:33

>>12
What else do you suppose would become a “viri”?

Name: Anonymous 2009-06-24 17:50

>>10
How much have I been trolled

Name: Anonymous 2009-06-24 18:00

Listen to >>6.

Name: Anonymous 2009-06-24 18:02

>>15
Wouldn't that require you to write portions of your program in Lua? Seems like trouble.

Name: Anonymous 2009-06-24 18:54

Personally, I like higher level programming languages, like Ruby or Python. I'd be pretty simple to get a simple game engine running using either of those languages. You might also try Java... I haven't used it personally, but I've gotten lots of good recommendations.

Name: Anonymous 2009-06-24 18:57

>>17
expert trolling

Name: Anonymous 2009-06-24 19:07

>>16
Why? From what I read, Lua is a really nice language and you can interface your C code with Lua code easily using metatables and userdata types.

Name: Anonymous 2009-06-24 19:30

>>19
PROTIP: Disabling SSID broadcast doesn't buy you anything. It just disables the advertising frames. Other frames are still transmitted with your SSID in it, and they are trivial to pick up using something like AirSnort or NetStumbler (what is it with wifi security tools and CamelCase?).

Name: Anonymous 2009-06-24 20:25

>>19
Lua is YAWSL.

Name: Anonymous 2009-06-24 20:32

>>21
yet another wonderful scripting language

Name: Anonymous 2009-06-24 20:34

>>21
yucky and without suitable libraries?

Name: Anonymous 2009-06-24 20:46

>>17
I once wrote a cell phone game in Java (this was before the enlightened age of ObjC phones).  It worked out pretty well but I still felt so dirty. :⌇

Lua is actually quite pleasant to work with.  It's minimal and highly dynamic, and allows transparent access to the whole VM state, but doesn't have ugly parentheses everywhere or require thousands of nested function calls to do the simplest operation.

Name: Anonymous 2009-06-24 20:57

doesn't have ugly parentheses everywhere
Do the spaces bother you when you type English?

Name: Anonymous 2009-06-24 21:26

>>25
Yet the language you're thinking about requires plenty of spaces too.

Name: Anonymous 2009-06-24 21:27

>>25
Not much more than every other part of the page that doesn't have text on it.
Do you wish you could fill all that empty space in the 'O' character with parentheses just for the heck of it?

Name: Anonymous 2009-06-24 21:33

>>23
Yet Another Wimpy Scripting Language. Like Perl, Python, and Ruby, Lua is one of those things that seems pretty nice to a person used to living under C's (or Sepples's) heel. Just like clean water from a cistern near the house would seem nice to a person who had to hike for 20 minutes to a muddy watering hole to drink or bathe. Not a first choice for anyone without extreme tunnel vision (e.g. a person who is still focused on what a miracle modern plumbing is — I'd prefer to have electric lighting and central air as well).

Name: Anonymous 2009-06-24 21:34

>>26,27
Missing the point completely. Does all the punctuation and capitalization bother you when you type English?

Name: Anonymous 2009-06-24 21:41

>>29
Ah, but while English is ripe with spacing, it's pretty sparse on punctuation and capitalization, and thus your example says nothing about your original point.
For the record, the forced capitalization of nouns in German and old English does indeed bother me.

Name: Anonymous 2009-06-24 22:43

>>24
Lua also performs tail call optimization, which is a nice feature. It's also super flexible with its OO, doesn't force you to think in just one way, and definitely doesn't FIOC. Generally, a great language to play around with. Seems perfect for this purpose. It's no Scheme, but then, what is? (Not even Scheme anymore.)

>>16,28
What do you recommend instead?

Name: Anonymous 2009-06-24 22:50

>>31
Personally, this type of project is virtually made for either C# or Java. You can use the Object-Oriented Paradigm (tm) to build you're project.

Name: Anonymous 2009-06-25 0:05

>>32
Of course! What was I thinking?!

Name: Anonymous 2009-06-25 0:10

>>33
The problem is that you were thinking. No-one ever comes to the conclusion of using Java or C# when they're thinking.

Name: Anonymous 2009-06-25 0:43

>34
 > they're

Name: Anonymous 2009-06-25 3:28

>>31
What do you recommend instead?
... Lisp? What else would I possibly recommend? I'm slowly being convinced that these WSLs are a problem for the computing world. Let's define some terms. WSLs are as defined above. Java, C, C++ and the like are passive-aggressive languages (PALs). They're composed largely of overcomplicated approaches to simple problems and dumb mistakes you're sure to make. Significant alternative languages (SALs) are languages like Lisp, Forth, or Haskell that provide quite a bit more power than WSLs or PALs, but whose power comes only to those who are willing to investigate new approaches — that's obviously how it has to work, since you can't get more power by using your low-power techniques.

The nature of the problem is that WSLs are obviously more appropriate for some tasks than the PAL set, with their use of automatic memory management, dynamic workflow, and dynamic typing, while not departing much from the PAL approach to design and implementation — their role is largely to hande the details when you don't give a shit. Even the most Ctarded person will admit this (although they will attempt to belittle any project for which they can't convince themselves C is an appropriate choice). SALs, however, while generally possessing the same advantages as WSLs as well as efficient compilation, require insight to understand what else they can do for your coding. Sadly, this means they just look weird to people from PAL land.

PAL programmers discover the magical land of WSLs, where memory is managed by stealthy gnomes and newborn fragments of code frolic freely without any lengthy pupal compilation stage. And they see that it's pretty good, although obviously for “real work” you still have to use a “real language”. Those of them open-minded enough to adapt to the carefree lifestyle happily spend their off hours banging out software with the natives of WSL land, under cotton candy clouds.

If there's one thing that makes WSLandians uneasy, it's the towering mountains of SAL. After sunset, ghostly lights can be seen flickering about the peaks. Rumour has it that enlightenment awaits atop those mountains, for those who can climb them and weather the unearthly storms. Every so often, a dweller below is taken by a madness and climbs the cliffs. Some don't make it up at all. Most spend a few weeks making their families below anxious before they come stumbling down, haggard and raving about the wizardry they have seen on the top of the world, but knowing that such things have no application in the real world. Others disappear entirely. Dead? Indoctrinated into some insane mountain cult? But all that's for nut jobs, not for good, solid WSLandians.

Name: Anonymous 2009-06-25 3:29

>>36
WSLand is the perfect place for a PAL programmer who feels something is amiss to find respite and become complacent (cf. Pythonistas). They, and native WSLandians, may never feel dissatisfied enough to climb those mountains and come into a full understanding of the possibilities before them. If WSLandia weren't sitting smack in the middle of the journey, a temptation to all who enter, the pure, crazy-making unlivability of PALand could drive people up the mountain, where even not-so-good programmers could enter a culture of good thinking. With it there, those programmers dive headlong into the honeypot.

Hell is never reaching your potential. In a world where Mt. SAL was the de facto destination for everyone who wants to do better, programming would be less a process of wearying pain, and more a process of personal growth. Does it hurt sometimes? Does it leave you spent? Yes, and yes. But that hurt is a good hurt, and that's a fee paid to reimburse yourself a dozenfold. I do believe the programming world would be a better, more pleasant place, if the average programmer were not so distracted by the shiny toys around him that he never looks up, never stands up and never walks. It may not put me into a personal hell, but it does drag the world down with me in it. Hell is also being kept from working at your potential, and watching people you like flounder in a sea of mediocrity.

WSLs are here for the foreseeable future. No one can remove these distractive attractions. The best one crawling the slopes can do is shout down to anyone whose ears are keen enough to hear. “Ho, down there! The cdr's fine up here!”

Name: Anonymous 2009-06-25 3:29

>>37
tl;dr — WSL? Fuck that. If you ain't metaprogrammin', you's muckin' about.

Name: Anonymous 2009-06-25 5:58

>>37
The best one crawling the slopes can do is shout down to anyone whose ears are keen enough to hear. “Ho, down there! The cdr's fine up here!”
Exactly, all you can do is shout.  You sure as hell can't demonstrate any actual productivity in you're ‘enlightened’ language.

Name: Anonymous 2009-06-25 6:31

solitude is enriching

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List