# my school project

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

## Recommended Posts

hi everybody!this is my first post(really very excited:)) my question is about my school project.ý have decided to make one of an old type of games.this is a text-based one for the sake of simplicity..it's something like that " now u r in a large garden standing against a haunted mansion.what will you do now ?.... you found a mushroom here at x=16,y=24 etc.." ý guess most of you have already understood what ý want to do...but ý decided to make it by simple graphics..ý intend to use a 'health=100,armor=100' bar at the top,an adequate grid that ý will move my hero character(represented by a head) on the intersection points of this at the center of game screen near to left side under the top bar..then a message box on the right that ý will use to introduce what is going on that time in plain text....maybe to show a handsome head of a monster!!! ý am expanding my knowledge of c++ day by day... ý am eager to learn whatever means is necessary for applying your advices...even a small piece of experience and idea is welcome... really grateful to my advisers already..

##### Share on other sites
hmmm welcome to the forum
maybe you should check www.gametutorials.com
it's a nice ideea of a game really :D
i hope this helps you
good luck

##### Share on other sites
What you describe is halfway between two existing types of games.

A Text Based Adventure is where all you see is descriptive text and you have to type commands to move, pick things up and use things. (In my example the > is the cursor where the user types commands).

You are standing in a small room.  There is a table here.Exits are North and West.> move northYou are in a garden. There is a flower pot here.Exits are South and West.> take potYou pick up the Flower Pot.>

The other game type is a Roguelike. In these games the "graphics" are just acsii characters arranged in a 2d grid. Traditionally the player is represented by an @.
(Example shamlessly stolen from one of the links I am about to provide).

 ------                                                               	 |....|      ############           #  Unlit hallway	 |....|      #          #           .  Lit area	 |.$..+######## #$  Some quantity of gold	 |....|       #      ---+---        +  A door	 ------       #      |.....|	              #      |.!...|        !  A magic potion	              #      |.....|	              #      |..@..|        @  The adventurer	   ----       #      |.....|	   |..|       #######+..D..|        D  A dragon	   |<.+###    #      |.....|        <  Stairs to the previous level	   ----  #    #      |.?...|        ?  A magic scroll	         ######      -------

It sounds like you want to make a roguelike, but with additional information available to the player about the current square hes in (and maybe a more complex combat system).

http://www.gametutorials.com/Tutorials/GT/GT_Pg1.htm

And for roguelike information, try:
http://en.wikipedia.org/wiki/Roguelike
http://roguelikedevelopment.org/

Between the two you should find lots of stuff that will help you.

Alan
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 1, "mathjax_display_tex": 0, "mathjax_asciimath": 1, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.19206108152866364, "perplexity": 4136.227999097709}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2018-09/segments/1518891813571.24/warc/CC-MAIN-20180221063956-20180221083956-00285.warc.gz"}