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

Beginner C project

Name: wat !QqL8nX9URE 2008-09-26 10:59

I've been studying C for a couple months now, and now I want to start on a small project that'll keep me busy for a few weeks or so. What should I start on?

Name: Anonymous 2008-09-26 11:03

Scheme interpreter/compiler.

Name: Anonymous 2008-09-26 11:04

make a hentai game.

Name: Anonymous 2008-09-26 11:04

Haskell compiler.

Name: wat !QqL8nX9URE 2008-09-26 11:15

... :<

Name: Anonymous 2008-09-26 12:09

simulate the lhc and destroy the internets

Name: Anonymous 2008-09-26 14:19

Name: Anonymous 2008-09-26 14:46

Anonix ed

Name: Anonymous 2008-09-26 21:30

An "Hello World" that also prints the TIME.

Name: Anonymous 2008-09-26 21:32

>>9
and checks if the user has any new mail

Name: Anonymous 2008-09-26 22:11

>>10
And downloads prons from the Internets

Name: Anonymous 2008-09-26 22:30

>>9
I prefer Newsweek.

Name: Anonymous 2008-09-26 22:55

>>11
I prefer Newsweek.

Name: Anonymous 2008-09-26 23:40

>>14
I prefer Newsweek.

Name: Anonymous 2008-09-27 0:14

>>16
You prefer Newsweek?

Name: Anonymous 2008-09-27 2:46

>>17
Yes, I do.

Name: Anonymous 2008-09-27 11:29

>>16 hax my anus

Name: wat !QqL8nX9URE 2008-10-01 20:57

Thanks for nothing, /prog/.

Name: Anonymous 2008-10-01 21:01

No problem, /fag/

Name: Anonymous 2008-10-01 21:05

Make a very simple game with SDL

Name: Anonymous 2008-10-01 21:11

>>18-19
s/prog/fag/

Name: Anonymous 2008-10-01 21:39

write a pair of interactive & representative genitalia as in
http://dis.4chan.org/read/prog/1220887396/

Name: Anonymous 2008-10-01 22:38

Write an reverse-Polish notation calculator that compiles and goes through Valgrind without any errors. Just for fun, along with a stack, make it have a stack of stacks so the user can keep a history of states of the stack.

Name: Anonymous 2008-10-01 22:43

How about a factorial calculator

Name: Anonymous 2008-10-01 22:43

hax my anus

Name: Anonymous 2008-10-01 23:23

write a GCI text board

Name: Anonymous 2008-10-02 10:14

Read SICP

Name: Anonymous 2008-10-03 18:36

>>2 and >>20 were about the only serious replies.

Name: Anonymous 2008-10-03 20:28

>>1
A rogue-like.

Name: Anonymous 2008-10-04 7:02

>>2: 8/10
>>3: 2/10
>>4: 0/10
>>8: 6/10
>>9: 0/10
>>10: 2/10
>>20: 9/10
>>22: 4/10
>>24: 0/10
>>26: 5/10
>>29: 10/10

>>27: 10/10

Name: Anonymous 2008-10-04 7:04

>>30
I assume those are troll ratings?  A new programmer is not going to enjoy programming a roguelike, it's a monumental task even for the most experienced of programmers.

Name: Anonymous 2008-10-04 7:08

>>31
Those are good-idea ratings. A roguelike will keep him entertained and force him to learn all about data structures. He doesn't have to write the ultimate Angband clone with randomly generated towns, 80 monster classes and 50 character attributes. I agree that writing a good roguelike is a monumental task, but the monumental bit comes from the balance and the monster, item and spell collections part, not from the programming part.

Name: Anonymous 2008-10-04 7:17

>>32
Roguelikes are prone to overengineering:  Just consider all the modifiers you want for equipment!  There's a million ways to do it with objects and XML and Enterprise-grade shit;  most successful roguelikes have it more or less hard coded.

Sure, dungeon generation, path finding, etc. is fun and good for learning, but that's the easy part.

Name: Anonymous 2008-10-05 20:21

Making a roguelike is a great way to learn a lot of stuff that ends up being very useful knowledge (especially in a language like C or C++). I did this myself, although I didn't actually know what I was doing was called a "rougelike" until way after I had finished. I just wanted to make a simple game using C++ and picked up a bunch of stuff as I went along.

It is also a very good way to scare someone off of programming anything ever again if the programmer takes it seriously. That shit takes forever to actually make the game itself any fun, fair, or balanced.

Name: Anonymous 2008-10-05 20:47

Old programming contests have a bunch of fun little (in terms of code) problems.

Name: Anonymous 2008-10-06 6:49

A Roguelike is a damn good idea. You might want to look into libtcod for console support, especially if you're doing development under Windows. Anyway though I second the Roguelike idea, it'll teach you a hell of a lot.

Name: Anonymous 2008-10-06 9:44

>>36
ncurses > libtcod

Console emulation has it's uses, but a strictly turn-based game is not one of them.

Name: Anonymous 2008-10-06 10:46

>>37
Makes no sense, and libtcod provides, like, 9 things that are necessary but may be hard for a newbie to write.

Name: Anonymous 2008-10-06 12:10

What I did was get something that allows for colored text and backgrounds (I forget what it was called), used the winmm library for sound and music, and coded everything else from scratch.

Name: Anonymous 2008-10-06 12:18

>>39
allows for colored text and backgrounds
Probably <conio.h>, the Windows shit for doing funny console things.

>>38
That's a fair enough argument.

>>36 recommends libtcod for console development; ncurses is superior to libtcod's console emulation (which is a mess to accommodate a broken operating system without real console support). Obviously comparing a rendering library like ncurses to an entire toolkit is moot, but >>37 wasn't attempting to make that comparison.

tl;dr DwarfFortress has made me rage.

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