Share your repls and programming experiences

← Back to all posts
The Repl.it RPG
h
BryceMcIn (15)

Hey everyone, I just wanted to share a little project that I've been working on. I've always loved text based RPGs, so I decided that I was going to start working on my own. The project is nowhere close to being anything substantial, but I thought it's a cool little proof-of-concept. Let me know what you think!

Commentshotnewtop
studentAlfredAl (431)

This is pretty impressive; I love to read books, and you didn't disappoint. Thank you and stay safe!

BryceMcIn (15)

@studentAlfredAl Thank you A lot of the games people make on repl.it are cyclical, so I wanted to try and make something narrative to change it up. Hope you stay safe as well!

Bookie0 (3918)

Wow super cool. One suggestions, at the start make the text go a tiny bit slower, because its just a bit hard to keep up. Anyways really cool i love it!

BryceMcIn (15)

@Bookie0 Thank you! I'm going to implement something in the future where the user will be able to adjust the text speed at the start to a speed their comfortable with

Bookie0 (3918)

Cool! Thanks for replying and keep coding! @BryceMcIn

Would you mind giving me some feedback on this repl: thank you so much!

https://repl.it/talk/share/DA-ULTIMATE-FOOD-RATER/34830

Nerd0000 (5)

how did you made the writing effect? XD

BryceMcIn (15)

@Nerd0000 In C, at least on linux systems, you're able to use ascii codes for color. There's a big list on github if you look up "ascii color codes c" on google. I read my dialogue lines into a string, and fed them in to a function that looped until the end of line printing each character one by one. You can see an example in my code!

FidgetDaHacker2 (6)

That was good I really like that

BryceMcIn (15)

@FidgetDaHacker2 thank you! I'm hoping I'll be able to make it a fully flushed out narrative game with many different choices and paths, but it's a lot of typing lol.

FidgetDaHacker2 (6)

@BryceMcIn you should add a command that shows the commands in the game

FidgetDaHacker2 (6)

@FidgetDaHacker2 like the moving and interacting

BryceMcIn (15)

@FidgetDaHacker2 good idea! I'll impliment that as soon as I get the other commands implemented properly.

[deleted]

Hard game...
But cool!