Share your repls and programming experiences

← Back to all posts
24
Oregon Trail Remake -- Class Assignment

I just put this on here so my friends could play it without being in person but you can too, if you want

Loading Repl
Commentshotnewtop
1

Wow! This is amazing! How did you get the button at the end (when you win the game).

1

@KiKUP THANK YOU! If you mean the "run again?" button, that just comes with the repl.it website.

1

@mediocrecoder Yeah, I figured that out after a while. And no problem. With this knowledge, I'll look forward to your following games.

1

Whenever you play the mini game for hunting, you always get the same questions with the same answers. You might want to consider randomizing this, too.

1

@vedprad1 hi! Yeah that bothered me a lot too. I really wanted to change it but school has been pretty demanding lately. I'll definitely try to add more stuff when I can. Thanks for your feedback!

1

Noice mate... ABSOLUTELY LOVE the Oregon Trail, this is pretty cool. Like what you did.

1

@soldier76 thank you so much for playing it! Any feedback/criticism would be much appreciated!

1

@EmmaHochron Just a project a teacher and I are working on just started it but though it would be fun to share: https://repl.it/@soldier76/Fallout-Console-Edition (yes there are some things i need to fix but its a work in progress.)

1

@soldier76 hi! I just looked at your project, and it's super cool! I can't wait for the finished version! One thing: I tried to press 'enter' to end the game, but I got an error message:
Traceback (most recent call last):
File "main.py", line 138, in <module>
main()
File "main.py", line 115, in main
travel = int(input("Enter a number or hit 'enter' to end the game:"))
ValueError: invalid literal for int() with base 10: ''
One way to fix this, if setting it to an integer is handy, is to remove the int() function around the input, and instead put a condition, like:
travel = input("Enter a number or hit 'enter' to end the game:")
if travel != '':
travel = int(travel)

You probably knew this already, but I just wanted to mention it! I really like the game so far and would love to play more! (I spent like 10 minutes putting obscenely large numbers into the terminal to see what items I got, so pretty entertaining for me!)

1

@EmmaHochron Thx, my teacher told me he has been working on it and has a more updated version for me and that he fixed some bugs so im sure that problem was addressed.

1

Oh, good; I’m happy to hear that! I bet the game’ll turn out really cool. Good luck friend! @soldier76

1
1

@AkivaRosenberg there are several ways you can win -- just keep trying out stuff! You can always type in "help" to see a list of all commands. It took me over 4 tries to beat my own game, so no pressure at all! Good luck :-D

1

I love the messages when you health decreases, like running into a pole! Good job!

1

Wow, thank you so much!! I didn’t expect anyone to actually look at this! Hopefully I get a good grade on it! @eankeen