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
12 votes
6 answers
2k views

One of my first Python projects - an adventure game

This is a simple text-based adventure game I made. I'm a beginner and I want to know if the code is optimal or if it can be improved. The story is not very complex, but I made it more for practicing ...
user avatar
5 votes
1 answer
397 views

Text-based adventure game where you fight two enemies per round

This is a text based adventure game, where you need to fight against 2 enemy in every round. The damage dealt and potion heal is a random number. How can I improve? Game class: ...
user avatar
  • 53
2 votes
1 answer
184 views

a text-based Role-Playing Game with java

The Character class is the base class, which is the superclass of Enemy and Hero. Here is ...
user avatar
  • 189
17 votes
10 answers
5k views

A small GOTO text adventure game

EDIT_START: I want to thank all people for giving me such good answers! It's hard for me to choose any answer over another, because I see that all of your answers are valid and good in their own ...
user avatar
  • 406
8 votes
2 answers
182 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 ...
user avatar
9 votes
2 answers
211 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 ...
user avatar
24 votes
2 answers
5k 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 ...
user avatar
4 votes
1 answer
329 views

Dungeon and Dragons Text Based Game

I've created a text based game based on D&D as part of exercise No.45 Learning Python the Hard Way v3.0 I've implemented a few features from the game: Character Selection, Fight Scene, Rolling. ...
user avatar
3 votes
1 answer
143 views

Revised text adventure game with a war theme

The actual code layout of a text adventure. This text adventure is a much-improved sequel to the first code. It is three times as long but three times more efficient. The setting is based on the ...
user avatar
  • 605
5 votes
1 answer
113 views

Zork look-a-like written in TypeScript

I've been working on a a text based game with a very simple battling system. There are way to many questions I can ask to get reviewed about this project, but I'll take small steps at a time (this is ...
user avatar
3 votes
1 answer
189 views

An adventure game

So as you will soon be able to tell, I am very new to this programming. But I thought that the best way to learn would be to just jump on in and create my own game. Was wondering what things I should ...
user avatar
8 votes
3 answers
485 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 ...
user avatar
  • 605
2 votes
2 answers
284 views

Beginner text adventure game

I am new to Python and I have not yet done any OOP. I wrote this text adventure as a first project and I would like to know if there is a better and more efficient way to write my code within its ...
user avatar
  • 21
2 votes
1 answer
498 views

Simple dungeon game [closed]

Curious on how I can consolidate or generally streamline my code here: ...
user avatar
9 votes
3 answers
332 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. ...
user avatar
  • 554
8 votes
2 answers
2k 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. ...
user avatar
13 votes
3 answers
6k 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 ...
user avatar
  • 131
2 votes
0 answers
62 views

The Lost Forest: The Beginning (text based choose your own adventure)

I'm currently making a text based choose your own adventure game with possible RPG elements. I'm somewhat new at programming. My father is very good ad QB64, but isn't always able to help me with my ...
user avatar
5 votes
3 answers
5k 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 ...
user avatar
5 votes
2 answers
526 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 ...
user avatar
4 votes
1 answer
1k views

Text-based adventure and combat game

I'm new to coding and this is a text based adventure game with combat. Sleep and choice functions based on idea from https://codereview.stackexchange.com/a/52292/179642. Map idea from Codecademy ...
user avatar
  • 43
5 votes
2 answers
497 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 ...
user avatar
  • 53
2 votes
1 answer
654 views

Python 3 adventure game in modules

I have been learning Python 3 for about a year now. I have been looking for a project to do instead of just going through tutorials and completing some Code Wars challenges. One website suggested that ...
user avatar
3 votes
1 answer
448 views

Python 2.7 text adventure map and movement

I have been writing a python text adventure and the map module i wrote is very clunky. It is a list with compass dirs as the navigation. The problem with this is, i refer to each room by index number, ...
user avatar
4 votes
1 answer
82 views

A little "explore" type of game in Python [closed]

I have another little text based game, this time, you're exploring a little castle. I have wanted to do this type of game for a while, and I finally got to do it! You are exploring a little castle, ...
user avatar
  • 349
7 votes
2 answers
15k 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 ...
user avatar
  • 73
8 votes
1 answer
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 ...
user avatar
4 votes
1 answer
688 views

Text adventure game - text input processing

As a fun project with my wife, I decided to make a small text adventure game à la Zork. Instead of using available engines, I decided to roll my own. It won't be that hard since there are no graphics. ...
user avatar
8 votes
2 answers
826 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 ...
user avatar
0 votes
1 answer
94 views

Adventure game for Android

Features Abstract class World.java which works for basically any game Game engine class Simulation.java which steps forward time and introduces random events Walking persons, places and connections ...
user avatar
5 votes
1 answer
4k views

Choose your own story text game that executes with loop using choices supplied by player

I am creating a choose your own story type of game in Java. I am new to object oriented design and Java, and a text adventure game sounded like a fun way to try to implement some of the programming ...
user avatar
  • 53
6 votes
2 answers
3k 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 ...
user avatar
8 votes
1 answer
6k 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'...
user avatar
3 votes
2 answers
7k views

Text based survival game

I have recently made a text based survival game. I hope that I can improve the game but I am not sure where I can improve it. It is NOT EASY, don't expect to get over it the first time. ...
user avatar
  • 33
13 votes
4 answers
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, ...
user avatar
  • 131
1 vote
3 answers
635 views

Beginning of text-based RPG

I've only been programming for about 2 weeks. I've been following a lot of tutorials and decided that the best way to learn would be to do it myself Looking to properly structure my code as well as a ...
user avatar
4 votes
1 answer
349 views

Small text-based fight

I plan to flesh this out into a hopefully full 2-3 minute text adventure game, and the most fun part to start with is the combat. The fight function down at the bottom repeats itself quite a bit, ...
user avatar
7 votes
1 answer
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 ...
user avatar
  • 715
6 votes
2 answers
6k 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 ...
user avatar
5 votes
1 answer
123 views

Text-based game - first OOP project

I'm learning Python as my first language and this is my first OOP project. What improvements can I make on my code for style, best practices, better logic, and to make it more efficient? ...
user avatar
  • 51
8 votes
1 answer
835 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. ...
user avatar
8 votes
5 answers
11k 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. ...
user avatar
5 votes
1 answer
742 views

Text-based Adventure-Game Engine

I wanted to create some kind of generic text-based adventure-game engine to see if I could build an interesting puzzle out of it. The idea was to define a mini-language to be able to define the ...
user avatar
6 votes
2 answers
223 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 ...
user avatar
2 votes
2 answers
606 views

Update on text based adventure game in C++

A few days ago I asked this question. So far I have made many changes in the code, as well as added some on and I was wondering if you see any way the code could be obviously optimized, as well as any ...
user avatar
2 votes
2 answers
1k views

My implementation of item objects in a text adventure

I'm looking for feedback on my implementation of Item() objects in my beginner project (work in progress) or indeed any other feedback you feel is appropriate. I'm sure what I've managed is very ...
user avatar
4 votes
1 answer
316 views

Simple text based game (LPTHW)

For Learn Python The Hard Way exercise 45 I made a small text game, that took a few hours. Since classes were used and classes were a recently brought up concept in the book, I was wondering how this ...
user avatar
  • 141
3 votes
1 answer
192 views

Beginner attempt at a text adventure v2

Based upon feedback received in this post I've amended my game and would very much appreciate further feedback on it's current state(work in progress) and any suggestions on what I could implement in ...
user avatar
4 votes
2 answers
807 views

My beginner attempt at a text adventure

I'm a beginner working on a text adventure. It's quite bare-bones at this point but I would appreciate feedback before I continue and the flaws in my code become further ingrained. I plan to add an ...
user avatar
6 votes
1 answer
1k 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 ...
user avatar
  • 171