Share your repls and programming experiences

← Back to all posts
Play GTA 5 in text
PattanAhmed

Play GTA 5 in text

Version 1

Hey everyone.

After a lot of trials, 950+ lines, I finally like to introduce my new game called GTA 5 (in text).
Basically, this is like playing GTA 5 in text.

This game has 5 places over the map. obviosly real GTA will have more... And all the places are tested without any errors.

How to play:-

  1. Choose from the map.
  2. Every wrong input may lead back to the map.
  3. Every move that you take will decrease 5 health.
  4. More information about the places will be given after you choose the place.
  5. Make a smart choice when you are under an arrest.
  6. You can check your money, health, inventory from Profile Check.

Any errors, bugs, typos, feedbacks are most welcome in the comments.
Also, don't mind my silly code, lol

Not everything you will get in places isn't the same every time. It may be different for the second choose (I mean all the things that you choose are random for every place).

A hack:- Withdraw 100 dollars 6 times, go buy a powerful weapon, rob the bank till it reaches $2000+, buy a bed from the hospital for $2000, rent it, and you will have everything on the inventory list, and have fun. (don't forget to increase your health in between)...

The code is very simple, you can follow around so easily if you are a beginner and curious to understand the code that I wrote.

P.S:- This is just Version 1 with only 5 places. I will try to publish Version 2 with 10 places and more stuff. Watch out for that-

With that said,
Have fun,
ByE!!

Voters
DerekHu2
LingWu1
Ge1G
ShadowWalker258
kylegamerlol
UncleFarkle
RavdeepA
CashIreland
ComputerScience1111
theunk51
Comments
hotnewtop
Ge1G

When is V 2 coming out? I can’t wait!

PattanAhmed

@Ge1G lol, good question.
I am currently working on other text-games.
So, I think it may take like 30 days or so!

Thanks for your waiting :)

MohammadB

Nice its pretty good ill give you that every thing is good 10/10

PattanAhmed

@MohammadB Thanks!

java04

so good........

PattanAhmed

@java04 Thanks!

JOSEPHHERSCHLIP

grats man, i wish i was this good.

PattanAhmed
ElixirAlpha

You should add a login because everytime i press enter it stops and i have to restart

[deleted]

NICE GAME!

PattanAhmed

@ZCODEZT Thanks!

ConnorHedman

It does not really work at all

tussiez

Noice

PattanAhmed

@tussiez Thanks!

nimahaj

u need to add if there is no entry like money amount and numbers that the programm dont lock .somthing like give numbers or what u write is not right or ...

PattanAhmed

@nimahaj Uhmmm, sorry.
I didn't understand!

WilliamFang1

lol i cant equip my weapon

PattanAhmed

@WilliamFang1 cause' you have less amount of money, I guess

WilliamFang1

@PattanAhmed no i mean i bought a medium weapon but im still using the default for some reason

PattanAhmed

@WilliamFang1 oh, i get it.
It's because i didn't added any uses to Medium weapon

Name12

@PattanAhmed
Good job!!!

PattanAhmed

@Name12 Thanks!

Name12

@PattanAhmed your welcome.

AnormalCoder

@PattanAhmed @DartZII @JBYT27 wait about that no-asking-for-upvotes thing:
is it a rule or is it just that you guys dont like people asking for upvotes? just asking.

JBloves27

Its a rule @AnormalCoder

FlaminHotValdez
PattanAhmed

@AnormalCoder It's a rule

JBloves27

has nothing to do with post and comment, but I love your bio XD @FlaminHotValdez

FlaminHotValdez

@JBYT27 lol, thnx

JBloves27
Silver13Soul

GLITCH: if you hit the enter button twice, it will give you a game over.

PattanAhmed

@Silver13Soul Uhmmm, cause' you never entered an input?

ArjanNagra

that was fun, I enjoyed playing through different paths for different ends

PattanAhmed

@ArjanNagra WoW!!
Thanks

ArjanNagra

@PattanAhmed
your welcome

YuvanVighnesh

nice

PattanAhmed
zplusfour

kewl

PattanAhmed

@ZDev1 Thanks!

zplusfour
Dart

Pretty awesome :>

PattanAhmed

@DartZII Thanks!

Coder0001

Cool game!!

PattanAhmed

@Coder0001 Thanks!

AnormalCoder
PattanAhmed
AnormalCoder

@PattanAhmed yeh its all good now

G0RG3

Nice!

PattanAhmed

@YashasShah Thanks!

AnormalCoder

@JBYT27 sorry didn't know. i'm a bit new to this

JBloves27

np! its ok @AnormalCoder

PattanAhmed

@AnormalCoder np, it's ok!

JBloves27

pretty cool! creative idea as well!

PattanAhmed

@JBYT27 Thanks!

JBloves27
AnormalCoder

can u check out my post. It's called Mastermind. plz can u upvote me?

PattanAhmed
JBloves27

dont advertise pls, thanks! @AnormalCoder

PattanAhmed

@JBYT27 ikr-

JBloves27
Dart

@AnormalCoder please do not ask for upvotes, thanks!

PattanAhmed

@DartZII he/she is new to repl.it
we told them not to do!

tussiez

@AnormalCoder Don't advertise please!

AnormalCoder

there is a bug at the end where if you exit the game it keeps spamming "exit successful" but also the game over screen. Apart from that this is pretty good stuff!

PattanAhmed

@AnormalCoder
Uhmmm, Pretty well bug! but I tried to fix it. I think it may repeat how many inputs you choose. Trying to find a solution...

Bookie0

pretty cool, what about adding colors? ;)

as well as increasing the speed slowPrint!

you should also make your health/money display in the main menu

PattanAhmed

@Bookie0
Added colors, Increased speed of SlowPrint.
About the third thing, I can do that but I think it's better to keep it as a separate choice.

Bookie0

nicee :)

ok @PattanAhmed

PattanAhmed

@Bookie0 Thanks!

VulcanWM

Nice!

PattanAhmed

@VulcanWM Thanks!

FlaminHotValdez

@VulcanWM ur alive

VulcanWM

When was I not? @FlaminHotValdez

VulcanWM

I see you like PJO and HoO. Cool! @FlaminHotValdez

FlaminHotValdez

@VulcanWM Lol u went inactive on talk for like 2 months or smthn like that, and yeah I love PJO/HOO. I'm also a big fan of Throne of Glass. I changed my username, it used to be maxyang

VulcanWM

Lmao u tracked how long I was inactive? Yeah I spent those two months working on a Greek Mythology related wiki, which I then posted on repl.it about a month ago? I’m currently working on a discord bot so not really looking at repl.it now lmao @FlaminHotValdez

VulcanWM

Nice bio btw @FlaminHotValdez

VulcanWM

I use repl.it everyday but just don’t look at the posts that often @FlaminHotValdez

VulcanWM

Have you read Trials of Apollo? @FlaminHotValdez

FlaminHotValdez

@VulcanWM lol ik about the WeGreek thing, ya i saw the discord

FlaminHotValdez

@VulcanWM Read Trials of Apollo already, but I haven't finished the 5th book haven't gotten my hands on the 5th book. Also, if you read PJO, I recommend Throne of Glass, Hunger Games, or Divergent.

VulcanWM

Yeah I’m currently reading Hunger Games. I have a pdf of the 5th one, you want it? @FlaminHotValdez

FlaminHotValdez

@VulcanWM nah I kinda lost interest in the series, I put a hold on ACOTAR and now I'm waiting.

VulcanWM

Ok. You just don’t like Apollo, or you feel Rick didn’t put that much effort in the series? @FlaminHotValdez

FlaminHotValdez

@VulcanWM Both.

PattanAhmed

@FlaminHotValdez @VulcanWM wow, 14 pings, lol

FlaminHotValdez

@PattanAhmed ...mb lol, also PONG