[C++] C++ text-based game ideas?

Skilled Illusionist
Joined
Jun 23, 2007
Messages
310
Reaction score
1
Hi,

You may already know that I've been learning C++ and that I am progressing quite well, however; I don't know what to code so that I can get better.

This is where you come in! If you could post some ideas for a Text-based C++ game (anything!) please do.

It will be released in the Coder's Paradise Showcase and you will be creditted in the application and the release thread if your ideas are used.

Thanks,
/Daney :P:
 
Tic Tac Toe?

That's easy,

Rock, Paper, Scissors?

Nifty code behind the both.
 
Thanks for the ideas, I've moved away from C++ and decided to learn C++ as a C++ coder I have spoken to has reccommended it.
 
I can't imagine one does not have ideas to make ^^, I daily have new idea's which can't fit my timetable ^^, so I'm mostly cancelling idea's lol.

Do what KyleEnos suggested, or other simple games, like guess the number. The fun thing is that those simple games lend itself easily to extensions. You can add statistics etc or other fancy things.
 
warlord32 , you really don't know how it is to code any type of mini-game on Habbo, so please don't give him such pathethic ideas. Let those ideas stay on the habbo section.

For ideas.. well. Rock Paper Scissors , like Kyle said, is a good idea, since you have to randomize the computer's answer and make it not-based on your answer. Just pure random..
Good luckz
 
Here's a somewhat advanced idea. Not a game but an idea nevertheless...

On several occasions when working with (debugging) server files and supplying new releases, and trying to fit other people's work into my own I was bugged about how you can't just merge two files and get the updates from each, so I thought I should make a patcher. So my proposition as a coding project for you to learn from would be a tool: a patcher that I'm sure several people would benefit from if done correctly.

In all its simplicity what it does is read in two files: an executable (well it could really be any type of a file), which I'll be calling file A, and a patch file (file B), which contains the data you patch the first file with.

File B needs at least two data pieces: the offset for file A where the patch will be applied to, and then of course the binary data. Then the program will just search the correct location and overwrite it with data given in file B.

Of course, it would be a rather boring tool if it was all text-based, so maybe you could create it a little later when you've started learning windows programming. Add in features such as being able to verify which patch files have already been applied onto file A, making checks to verify there are no conflicting patches and all that...

Then again, I'm sure making a little game would be more entertaining. No doubt the tool I just described has already been made, but I haven't run into one just yet, and hey, the aim was to learn programming, right? ;) Good luck with learning and don't get frustrated if some days it feels like you can't do anything, because becoming a good programmer is a long, but rewarding road.
 
Negata, that already exists, it's called SVN :P

(Or just in general any good source control tool :wink:)
I don't mean anything like SVN. I mean when people work on those server files (binaries without sources especially) separately and eventually release them in bits, they tend to just call it a patch when it's actually most likely lacking several features another file might have had. Then the beginning server admin has to decide between several incomplete files without a way to combine the fixes or to not apply the ones he doesn't care for. You might not have had use for it, but I know I would've found it useful sometimes, mostly for making my releases more pleasant for others to use.

And hey like I said, it's just an idea which would include a few areas which he might find interesting to practice with.
 
Back