Jump to content
  • Advertisement
Sign in to follow this  
cj270608

A C++ game in a day!

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

If you intended to correct an error in the post then please contact us.

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 this post


Link to post
Share on other sites
Advertisement
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 this post


Link to post
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 this post


Link to post
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 this post


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

Share this post


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


By whom? Does your challenger know anything about your skill level?

Share this post


Link to post
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 this post


Link to post
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 this post


Link to post
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 this post


Link to post
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 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.


Haha [lol] where can I play this game?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!