Share your repls and programming experiences

← Back to all posts
Lost! - A fun game where you fight many creatures to win
ruiwenge2 (1135)

Lost! is a game where you are lost in the middle of nowhere and have to get home. To win, you must fight through many creatures, and eventually you will find a portal to get home. However, you must have at least 50 gems to use the portal.

Everyone starts with a health of 100, 50 gems, and zero items. Gems are like money. You can use them to buy items in the shop. Items will be very important in a fight.

There is a fifty percent chance that you will see a creature, and you can either fight it or escape. If you do choose to fight it, you will earn some gems if you win or lose some health if you lose. You will lose the game if you have no more health left.

There is also a thirty percent chance that the place you go to is safe and has nothing, and a twenty percent chance that you will find a treasure chest containing some gems.

The final score will be the number of gems you have left.


Thanks to @Coder100 for giving me some ideas for the creatures.

TheodoreGardine (0)

this is such a fun game! how long did it take? I got a score of 204

NotMyUsername6 (0)

aw man, i got 256 final score but i have no proof rip

ruiwenge2 (1135)

you could show a screen shot! @NotMyUsername6

NotMyUsername6 (0)

@ruiwenge2 no, i mean i have no evidence, i accidentally closed the tab before i could scshot

NotMyUsername6 (0)

@ruiwenge2 i guess you'll just have to take my word for it.

or, you can just assume im lying like what the majority of people will do

ruiwenge2 (1135)

wow! you beat my best score of 188! @FrancisPan

Bunnytoes (165)


     File "", line 18, in <module>
        highscore = db["high score"]
     File "/ opt/virtualenvs/python3/lib/python3.8/site-packages/replit/database/", line 432, in __getitem__
ruiwenge2 (1135)

@Bunnytoes thats weird, for some reason i dont get that error

Bunnytoes (165)

@ruiwenge2 still doesn't work 😥, I don't know what's wrong

ruiwenge2 (1135)

ok lemme remove the high score thing, i think its an issue with the replit database @Bunnytoes

Bunnytoes (165)

@ruiwenge2 probally, I also had some issues with it before

Bunnytoes (165)

@ruiwenge2 it works also you may want to use


I think thats it so the thing doesn't get clustered with stuff