Public Group

A C++ game in a day!

This topic is 3662 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

Recommended Posts

Help! I've been challenged to make a C++ game in 24 hours! I want to make something simple again, but I need to choose something to make. VERY rudimentary text-based RPG? Something else?

Share on other sites
Any RPG is likely too big a project for a single day for a beginner (just making that assumption based on the forum in which you posted).

I would try for something much simpler. If you want text based, maybe do some text based maze thing. If you are doing graphics, something like Snake, Space Invaders, or Pong are good. Maybe do a simple trivia game of some sort. Those I could see being done in a day, but an RPG is probably too big for a single day.

Share on other sites
How's about looking at maybe snake using conio? should be doable in 24h for a game programming beginner, provided you have programmed before. My advice would be to keep to a simple game mechanic and a simple graphical output. Of course, you could write a very simple text-based adventure in that time too. Anything graphicswise more than conio would mean using a library like allegro or [I can't remember the name of the damn thing] aha SDL.

I tried to make scrabble once, pretty soon after starting c++, it was hilarious... after several weeks I had got so sick of trying to fix obscure bugs in the game mechanics, and realising every time I got it stable that I had forgotten yet another rule... I finished it short of only one rule... Still, don't underestimate how OK ASCII art can look
 _______________________ |S |C |R |A |B |B |L |E ||_1|_2|_1|_1|_3|_3|_1|_1|

Ahem...

Share on other sites
How about, instead of an entire RPG, make the battle mode part as the entire game. Or Tic-Tac-Toe?

Share on other sites
Hangman could be doable. Or maybe guess the number would be more achievable?

Share on other sites
Quote:
 Original post by cj270608Help! I've been challenged to make a C++ game in 24 hours!

Share on other sites
just read smr's post. You should be able to cope with hangman, no? it was you asking about speedy addition the other day, wasn't it... hangman would be good practice for you - have a dictionary of words in a file that you read, choose a random line and use that word. Don't use any graphics, just the text, outputting the letters that have been tried and the letters that are correct, putting a _ in the spaces which haven't been guessed. First build a version which can play hangman, but with a hardcoded word to guess, then extend it to choose from your list.

Good luck!

Share on other sites
You can do any game you want? How about guess the number? I'll bet that can be done in less than twenty-four minutes :).

I like the idea of a graphics-less hangman myself. Should be do-able in a 24 hour period and is itself little more than a more complicated guess the number game.

A whole RPG might be a bit much in 24 hours, pending on your skill level I guess. But if you're stuck on that idea, instead of a whole RPG, you might just do a turn-based combat system. You could start by hardcoding all the player and monster stats and have it grow later to load the information from a text file.

Share on other sites
@the OP: maybe I'm missing something, but what's your skill level?

24 hours isn't much, especially when you're programming in C++. How about a text adventure?

You step into a dark room. There's all sorts of old stuff here.

> Look at old stuff

It's just old stuff

> Pick up old stuff

I don't want that

> Pick it up, goddammit

Fine! Jeez, Louise. Someone has a temper today! What now?

> Leave room

You know what, I don't wanna play anymore

> Leave the f*cking room

Alright, alright. Uhm. You're in another dark room.

If you keep the grammar reasonably simple, this should be perfectly doable. And it's fun.

Share on other sites
Quote:
 Original post by Harry Hunt@the OP: maybe I'm missing something, but what's your skill level?24 hours isn't much, especially when you're programming in C++. How about a text adventure?You step into a dark room. There's all sorts of old stuff here.> Look at old stuffIt's just old stuff> Pick up old stuffI don't want that> Pick it up, goddammitFine! Jeez, Louise. Someone has a temper today! What now?> Leave roomYou know what, I don't wanna play anymore> Leave the f*cking roomAlright, alright. Uhm. You're in another dark room.If you keep the grammar reasonably simple, this should be perfectly doable. And it's fun.

Haha [lol] where can I play this game?

1. 1
2. 2
3. 3
4. 4
Rutin
18
5. 5

• 11
• 21
• 12
• 12
• 11
• Forum Statistics

• Total Topics
631405
• Total Posts
2999890
×