Share your repls and programming experiences

← Back to all posts
Adventure Game
AidanMott (179)

https://repl.it/@AidanMott/Adventure-Game
It was for one of my school projects, but i still thought it was good

Commentshotnewtop
CollinKunsman1 (27)

this is stupid! calling my name dumb is pretty offensive to some people, you know!

Blink (2)

I cant run it.

yanovsky (1)

Best and coolest game ever! I love it!

Noob_vn (5)

dumb name xD (I mean the game said its a pretty dumb name)

tatter (0)

I'd say add a lower function to all user inputs, but it's a pretty fantastic game.

RyanBridgforth (0)

This is awesome! Keep up the good work Aidan!

molinito_mario (7)

Amazing. Looking forward to look at your game in 2d version. Obviously not in repl but pygame possibly.

FrontHead__ (0)

Man, it's really good, but you could separate and declare, at the beginning, all of your strings and constants, so you can transform them with ".format" method.

NicholasChorett (1)

guys... um.... there are even special things for people specific names above this but.... THERE IS A GOD MODE!

DUDE! your game is awesome and i know this was a lot of work, but this is incredible! I would love to see another some time even though it was a lot of work its amazing!

Sry for exposing the codes...and easter eggs

AidanMott (179)

@nicholaschorett: Lol, it’s fine. God mode was mostly for testing the game

HappyFakeboulde (213)

Excellent. At first when I opened it though, I thought it was nonexistent.

create (0)

Why does it say got code.

thoq (5)

Nice one! That's is an unbelievable amount of effort you put into that. Wow!

If you want to keep it up, look into functions and classes. Would save you a lot of repeating.

AntonioRodrigue (0)

everytime i try and fight it says error

KingReece17 (2)

This was a very long and hard game to play, but was still fun overall. Nice job.

cerbers (3)

Ist is faculous

ollie_jordan (0)

This isn't that good, there is no verification for your inputs so if you put in something incorrect the code just continues....fix it please.

ollie_jordan (0)

This just isn't that good.

0smo5is (0)

Just a suggestion. Level = Level + 1 is more elegantly written as: Level += 1

AidanMott (179)

@0smo5is: When I originally made this, I was just starting Python, and it was one of our first projects. I didn't really know about this trick. I use it now.

NathanielLowis (36)

For some reason it has stopped for me with the error message saying: Traceback (most recent call last):
File "python", line 249, in <module>
TypeError: can only concatenate tuple (not "str") to tuple

This is what the I have inputted:
Enter your name. Nat]
Nat]. That’s a pretty dumb name, but it’ll do.
got code? Yes

Alright, Nat], welcome to your great quest.

You are a student in Mr. Smith’s class, and you’ve been assigned a project, to make a game. You suck at programming, and you can’t think of any ideas for a game. ”How the heck am I gonna do this project?” You decide that the only option is to steal someone’s project. Thus, your quest has begun. It will be hard to find a good project and remain undetected, but it is possible. In your way stands many challenges, including tattling students, pesky teachers, and everything in between.
Out of 300, how much attack do you want (3 stats) 100
Out of 200, how much defense do you want? 100
Out of 100, how much HP do you want? 100

ROOM 1: MR. SMITH’S CLASSROOM
What do you do? (F = fight boss, H = hunt enemies, S = search for items, C = check stats, I = inventory) C

Stats:

HP: 52.0/52.0
Attack: 20.0
Defense: 20.0
EXP: 0/11

ROOM 1: MR. SMITH’S CLASSROOM
What do you do? (F = fight boss, H = hunt enemies, S = search for items, C = check stats, I = inventory) S
You found a defense booster and put it in your backpack.

ROOM 1: MR. SMITH’S CLASSROOM
What do you do? (F = fight boss, H = hunt enemies, S = search for items, C = check stats, I = inventory) I

Items:
HP Potions: 0
Attack Boosters: 0
Defense Boosters: 1

ROOM 1: MR. SMITH’S CLASSROOM
What do you do? (F = fight boss, H = hunt enemies, S = search for items, C = check stats, I = inventory) S
You found an attack booster and put it in your backpack.

ROOM 1: MR. SMITH’S CLASSROOM
What do you do? (F = fight boss, H = hunt enemies, S = search for items, C = check stats, I = inventory) S
You found an attack booster and put it in your backpack.

ROOM 1: MR. SMITH’S CLASSROOM
What do you do? (F = fight boss, H = hunt enemies, S = search for items, C = check stats, I = inventory) I

Items:
HP Potions: 0
Attack Boosters: 2
Defense Boosters: 1

ROOM 1: MR. SMITH’S CLASSROOM
What do you do? (F = fight boss, H = hunt enemies, S = search for items, C = check stats, I = inventory) S
You found an HP potion and put it in your backpack.

ROOM 1: MR. SMITH’S CLASSROOM
What do you do? (F = fight boss, H = hunt enemies, S = search for items, C = check stats, I = inventory) S
You found an attack booster and put it in your backpack.

ROOM 1: MR. SMITH’S CLASSROOM
What do you do? (F = fight boss, H = hunt enemies, S = search for items, C = check stats, I = inventory) S
You found an attack booster, but you have enough, so you leave it.

ROOM 1: MR. SMITH’S CLASSROOM
What do you do? (F = fight boss, H = hunt enemies, S = search for items, C = check stats, I = inventory) H
A tattling student appeared!

HP: 52.0/52.0
What do you do?
(f)Fight
(a)Action
(i)Item
(r)Run
I
The student let out a loud, tattling screech, doing 3 damage.

HP: 49.0/52.0
What do you do?
(f)Fight
(a)Action
(i)Item
(r)Run
f
Traceback (most recent call last):
File "python", line 249, in <module>
TypeError: can only concatenate tuple (not "str") to tuple

AidanMott (179)

@nathaniellowis: Thank you for the feedback! I believe it should be fixed now in the Adventure Game Fix

AntonioRodrigue (0)

@aidanmott: I played the fixed version and it's still saying error

AntonioRodrigue (0)

aidan I fixed the code on line 249 you have to delete 1 pair of parentheses and the code will work

Zacharuski (0)

I gotta wait till I get home to try it, the game is too big for school computers lmao

AidanMott (179)

@zacharuski: Yeah, it seems like repl.it has been a little slow for me lately.

DarioGV (0)

AWESOMEEE I LOVE IT

WAUthethird (2)

Niiice, I've been meaning to make a satirical game about my teachers...
They keep calling the janitors down to the office every hour -- perhaps I'll make a game about that!

But seriously, this is very well programmed. Up until now I had no idea you could color shell text -- live and learn, I guess.

Good luck with your teachers - the way you put it they must be monsters...

NicholasChorett (1)

If my phone could support running the long amount of code for game play, then I'd Play it from class to class tbh. I know it was a school project, but if your considering making another one, but simply with a new story line (like new characters or something, B/c I know that would mean MORE coding and most people, my self included, do NOT want to do that if we don't have to).

Great work again!

WAUthethird (2)

@nicholaschorett: Just use something like Inform or Twine if you don't want to program. They're both for text adventures, and they are both amazing! You can look here for some Twine games I made: https://wautextadventures.neocities.org/