Questions tagged [adventure-game]

An adventure game is a video game in which the player assumes the role of protagonist in an interactive story driven by exploration and puzzle-solving.

Filter by
Sorted by
Tagged with
25
votes
10answers
42k views

Text-based adventure game with too many conditional statements

For a school project, I am creating a text-based adventure game in C++. I have shown my code to my teacher and he is stating my code is not entirely logical in sequence and that I should make my ...
23
votes
2answers
1k views

Zork-like text adventure w/ Python

I've been using Python for around 3 months and decided to make a simple text adventure game for fun and to exercise a lot of ideas I've been learning about. I've just recently learned about classes ...
21
votes
3answers
2k views

How to Train Your Dragon

I started out practicing on implementing the builder pattern and somehow ended it up with this 2 hours later. It isn't really much, but it works and I'm hoping review should bring about a lot of ...
16
votes
1answer
2k views

Amateur RPG Fun

I am looking for this code to look neater, and if possible, less bulky. I am new to def and to dictionaries, so I think throwing a few of those in here could ...
14
votes
4answers
67k views

Tiny text adventure

I made a small text adventure. I'm not trying to make it appealing to anyone, but rather just to practice my Python skills. I am fairly new to Python and this was my next step after making a console ...
13
votes
3answers
3k views

Adventure Game (text based) in C++

I'm working on a simple text based adventure game. I've just finished working on the character creation portion. The code works perfectly fine when run, but I would just like to get some feedback to ...
13
votes
1answer
628 views

Cactus Reborn - A game engine for text-based adventure games

I'm currently working on reincarnation of the Cactus project, Cactus Reborn, and I've gotten the basic implementation so far. At this point, you can create simple, playable games. There are currently ...
12
votes
4answers
43k views

Text-based RPG game using classes

I am studying for a degree in "Bachelor of Engineering in Information and Communication Technologies." I am currently on vacation, just after we started learning C++ at the end of the semester. I ...
12
votes
4answers
5k views

Text Adventure Game in Python

I'm currently working on a text adventure game for my first project. I am a beginner so I am seeking help with my code. Please comment any tips and general help regarding with making my code better, ...
11
votes
1answer
824 views

Cactus (Prototype) - A game engine for text-based adventure games

@Annonomus Penguin, @QPaysTaxes, and I are building an engine for easy creation of text-based adventure games, like Zork. The engine is still in its early stages of development, and the following code ...
10
votes
1answer
475 views

Top-down movement

I've been working on a Final Fantasy-ish game and am leaning toward more like 1 - 3. This is my attempt at map movement. It does work, but if anyone has any suggestions or critiques, I would like to ...
10
votes
1answer
470 views

Zork-style game engine (Specifically, a Cactus prototype)

So I'm one of those weirdos over here talking about making a game engine for text-based (think Zork) games. There was pretty recently another question by someone else working on the same thing, if you'...
10
votes
1answer
206 views

Hunt the wumpus: Functional JavaScript (Node) with Lodash

I'd like a code review of the following simple implementation of the classic game Hunt the Wumpus I'm trying to use JavaScript in the most "functional" way. To help me, I'm using lodash and ES6. <...
9
votes
3answers
228 views

Python - Text Adventure

I need help simplifying this Python code. I'm new, this adventure game is one of my first projects. I have tried simplifying my code already and this was the best result I could get. ...
9
votes
2answers
2k views

RPG game shop system

I'm interested in the organization, layout and style of how I program. How does organizing code using whitespace work? I've had a go in the code below. I mean like when you press tab and start the ...
9
votes
2answers
433 views

Small text-based game

I am brand new to coding in Python, and programming in general. I have picked up the Learning Python book and have been slowly making my way through it. I decided that I would try to implement what I ...
9
votes
2answers
162 views

Text-adventure game cleanup

I'm working on a text adventure game for a while now, learning more about user input etc. I have a feeling there is something fundamentally wrong about my code, it seems too repetitive. The use of ...
8
votes
3answers
438 views

Story-based adventure with functions and relationships

This is a story-based adventure program I coded by myself (forgive the length). It took a long time but it was fun. It includes loading times, changes in relationships, relationship levels, storyline ...
8
votes
2answers
1k views

Text adventure game code

I'm just looking for someone to review this and see if it all works, here you go. I must mention that once you start this code adventure, all answers to questions must be in single quotes (i.e. ...
8
votes
5answers
10k views

Adventure text game

I'm making a text based java game to help me learn java. I would like to know if I am doing things ok and if there is a better way to do the things I'm doing thanks. I have two separate files. ...
8
votes
2answers
508 views

Creating branched narratives

Recently, I was asked to develop a way to easily create a branched narrative, where the user can select options to progress the story in their own path. After a couple hours of fiddling around with ...
8
votes
2answers
3k views

Making user menus in a text-based game

I'm new to Python and programming in general, but I'm making it work. I have this little game I've been working on as a learning exercise and I'm a bit concerned that I'm using far too many ...
8
votes
1answer
5k views

Zork-style text-based game engine Python3

Over the last couple of months I've been working on a zork-style text based adventure game to kind of crash-course teach myself Python. I've gotten to the point in it where I'm fairly proud of what I'...
8
votes
2answers
111 views

Procedural Dungeon Generator

I've started working on a text-based adventure game that has procedurally-generated levels. I am unfamiliar with the more popular methods so I just decided to generate the dungeon using a recursive ...
8
votes
1answer
3k views

Python text adventure

I am creating a prototype for a text-adventure to get into game development, and i wanted to take the opportunity to also try to use OOP concepts, since i have been struggling to understand the OOP ...
8
votes
1answer
757 views

Text-based adventure game using classes and XML

I am studying software engineering and we just started learning about object oriented programing. I wanted to be a bit ahead of all others, so I decided to write a little text-adventure using classes. ...
8
votes
1answer
383 views

A little text based adventure game

I'm writing a little text based adventure game, and wanted to know if there's anything I can do better thus far. It is not completed to don't get mad when it ends. I'm just curious as to better ways ...
7
votes
1answer
770 views

Amateur RPG fun - follow-up

I have posted before, and the code was very bulky and ugly. Here is the new and improved version. ...
7
votes
2answers
617 views

Python Adventure game

I'm a beginner Python coder and this is the first program that I have ever programmed. Please suggest improvements/bugs. Here's the link to the code. ...
7
votes
1answer
737 views

Small text adventure

I made this small text adventure just to see what I could do with Python, and I'm basically wondering how it could be optimized, especially my combat as right now I'd have to rewrite it every time I ...
7
votes
1answer
1k views

Haskell Text-Adventure Game

I just started making a text adventure game in Haskell. Because this is the largest project I have done in Haskell, I wanted to ask about it here before I got too far on it. I am still pretty new to ...
7
votes
1answer
117 views

Moody game characters

I've been doing some self-imposed exercises to get accustomed to Python and below is my code. ...
7
votes
1answer
1k views

Python text game

I've written a simple text game in Python to show you. I would be glad if you would spare a quick look and point out the style errors so I wouldn't pick up bad habits. ...
6
votes
3answers
2k views

The Mysts of Altair - text-based adventure game

This is my code for The Mysts of Aesthoth so far. I'd like to know if I'm following best practices, and what can be improved. ...
6
votes
2answers
2k views

Zork-style text-based game engine in Python 3

I've been working on a text-based Zork-style game project for the last couple of months to teach myself Python. I have barely any experience coding prior to this project, but thanks to Stack Exchange ...
6
votes
3answers
15k views

Simple Python maze game

The program is running fine but I was just wondering whether there was anything I could do to make it more user friendly or efficient. ...
6
votes
2answers
861 views

“Lost in the Woods” text-based game

This is my first Python text-based game. Let me know if there is something I should improve on or fix in the way that my code is written because I feel that I am being very redundant in my code, but I'...
6
votes
2answers
5k views

Text adventure game

I just downloaded Python for the first time today, and I had a lot of fun playing around with it for like five hours. I watched one YouTube video on how to make a text adventure, and then I decided ...
6
votes
2answers
208 views

Implementation of a Location object, to be used in building a text-based adventure game

Based on responses to my question posted here, I've built a full implementation of a Location object. Such an object can be used to build a map for a text-based adventure game. Feel free to review ...
6
votes
3answers
245 views

A game modeled after Adventure

Here is a little game modeled after adventure that I have been working on. The code initializes a set of lists. It sets a current location randomly generated. The user is tasked with either ...
6
votes
1answer
276 views

Text adventure and global variables

I'm working on this little text based game. Up to this point, I've gotten it to work, however I've heard I shouldn't be using global like I am. I have this set up to modify the global variables ...
6
votes
1answer
780 views

Character inventory in C#

Here are the relevant parts of a project I'm working on that's working perfectly. I was wondering what I should change to improve it (to respect SOLID principle for example), especially regarding my ...
5
votes
6answers
1k views

Adventure game player using public fields instead of getters and setters

I was writing class Player with private fields and getters and setters. But the number of methods started to grow, I used lists ...
5
votes
2answers
631 views

Run loop for a text-based adventure game

I am programming a graphical text adventure using python. The game is playable, but I am not sure whether the code is well-suited for newcomers (code smells / quirks / general readability). Here's ...
5
votes
3answers
2k views

Simple text escape room game

I recently started coding and after learning a bit about functions and basics I tried to make a simple text escape room game. My code is working and the game functions as intended but I now there are ...
5
votes
1answer
368 views

Simple adventure game

I'm new to programming, became interested in learning a while ago and only got to it recently. I'm working on a very simple text-based adventure game using Python, and would like some tips on ...
5
votes
2answers
375 views

Beginner Rust text adventure

I've been trying to pick up some Rust experience and decided to try and make a text adventure game. I'd like some feedback on potential bad practice and non-Rust-style code I may have used. I'm moving ...
5
votes
3answers
1k views

Button click handlers for a JavaScript text-based adventure game

I'm pretty new to JavaScript, and I'm trying to created a text-based game. I've written a few scenarios and based on the player's decision I have different scenarios written out. As of now I have the ...
5
votes
2answers
5k views

Java text-based adventure game

I'm trying to make a text-based game and I think I've got a good start. However, this code seems a little clunky and I'm pretty sure there is a better way of doing most things in the code. I am very ...
5
votes
2answers
353 views

Short text-based adventure game

I'm totally new to coding and tried myself on a short text based adventure game. I got the feeling that the functions are the same ones all the time and the whole game is a bit monotonous... I'd be ...