Share your repls and programming experiences

← Back to all posts
python: I made a game I guess
h
SeamusDonahue (439)

I'm not really sure what to call this.
this is a game where you push boxes to goals, but with a sorta pseudo story.

wasd to move. walk into boxes to push them. r to reset

the goals are Os and have no collision
the boxes are blue # and only have a collision if you can't push them.

have fun, and have a nice day.

ps: expand the console size so it works properly

this really blew up! thank you all!
ps: to those saying "it sucks!" or "it's broke!" please either explain or give constructive feedback

I'm getting reports of IndexError's, you get out of bounds intentionally but you are going farther than intended. please only go as far as you need to.

Comments
hotnewtop
IcynDevz (762)

This game is
███████╗██╗░░░██╗███╗░░██╗
██╔════╝██║░░░██║████╗░██║
█████╗░░██║░░░██║██╔██╗██║
██╔══╝░░██║░░░██║██║╚████║
██║░░░░░╚██████╔╝██║░╚███║
╚═╝░░░░░░╚═════╝░╚═╝░░╚══╝

SeamusDonahue (439)

thanks! also nice unicode/ascii art! @IcingHackz

firedragondnd (43)

@IcingHackz yeah
███████╗██╗░░░██╗███╗░░██╗
██╔════╝██║░░░██║████╗░██║
█████╗░░██║░░░██║██╔██╗██║
██╔══╝░░██║░░░██║██║╚████║
██║░░░░░╚██████╔╝██║░╚███║
╚═╝░░░░░░╚═════╝░╚═╝░░╚══╝
(Copied and Pasted ;) )

firedragondnd (43)

@IcingHackz I da ascii art master. (With copy and pasting)

firedragondnd (43)

@IcingHackz
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░█░░░░░░░░░░░░░░░░░░░░░░░░░░███░░░
░░░░░░░██░░░░░░█████░░░██████████░░█░░░░
░░░░░░████░░░██░░░░░░░█░░░░░░░██░░░█░░░░
░░░░░░█░░██░░█░░░░░░░░█░░░░░░░█░░░░█░░░░
░░░░███░░░░█░█░░░░░░░██░░░░░░░█░░░░█░░░░
░░░███░░░░░███░░░░░░░░█░░░░░░░█░░░░█░░░░
░░██░██████████████░░░█░░░░░░░█░░░░█░░░░
░░█░░░░░░░░░█░░░░░███░█░░░░░░░█░░░░█░░░░
░░█░░░░░░░░░█░░░░░░██░█░░░░░░░█░░░░█░░░░
░██░░░░░░░░░█░░░░███░██░░░░░░░█░░░░█░░░░
░░░░░░░░░░░░█░████░░░██░░░░░░░█░░░░█░░░░
░░░░░░░░░░░░░░░░░░░░░░█████░░████░████░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░

firedragondnd (43)

@IcingHackz I'm actually really bad at ascii art.

Yoplayer1py (2)

@IcingHackz teach me how to make like this

RahulChoubey1 (136)

guys, it's not ASCII art, but text art.

IcynDevz (762)

@angrydoge @RahulChoubey1 @Yoplayer1py @TheC0derGirl @firedragondnd @mesquite2234 please stop replying to this comment, since it's my comment, I'm getting the pings even if you are not using @ at me. And to clarify, I maybe good at ACSII art/text art, but just stop talking about it.

Thanks! :D
SeamusDonahue (439)

I own the repl so i get all those pings and more ;) @IcingHackz sorry for the ping lol

IcynDevz (762)

Lol XD I know.

And thanks for understanding
19hmehmood (0)

what the hell does tht say @firedragondnd

xXToluwaXx (8)

███████╗██╗░░░██╗███╗░░██╗
██╔════╝██║░░░██║████╗░██║
█████╗░░██║░░░██║██╔██╗██║
██╔══╝░░██║░░░██║██║╚████║
██║░░░░░╚██████╔╝██║░╚███║
╚═╝░░░░░░╚═════╝░╚═╝░░╚══╝

Bookie0 (5965)

Dang I'm stuck!!

Lol you should put a restart button to restart the level! :)

AndrewMarkarian (19)

@Bookie0 Now there is one and also you have to push the blue # to the white one once there is an O in. That's my suggestion fr this situation.

SeamusDonahue (439)

just move, if you push the thing onto the button, the game needs 1 more turn in order to process that, sorry @Bookie0

sojs (295)

Ya, i keep getting stuck as [email protected]

Wilke000 (625)

NICE!! But this happened:

SeamusDonahue (439)

out of the map was intentional, but he was too far out of the map @AndrewMarkarian @Wilke000

AndrewMarkarian (19)

@SeamusDonahue That is what I meant, but overall don't go out of the map.

DillonGardner (3)

This was fun!
Some of the mid-game levels were really broken...
but it was still pretty fun! I enjoyed the experience
I half-expected an easter egg for modifying the code to be able to beat the end level, but I understand the lack of its existence

Great game overall! 10/10, would recommend

SeamusDonahue (439)

thanks! the mid-game levels were intentionally broken obviously to drive the narrative that you are breaking them somehow. I might add that after win level, sound interesting. @DillonGardner

datboicatguy (4)

This game is amazing.

Coder2195Text (35)

I glitched out the game, and went beyond the borders oof
Traceback (most recent call last):
File "main.py", line 90, in <module>
p.update()
File "main.py", line 55, in update
if i.y == self.y + vmove and level[self.y+(vmove*2)] != "#" and self.x == i.x:
IndexError: list index out of range

AndrewMarkarian (19)

@Coder2195Text Please look at other comments more. You went out of the map too far.

Coder2195Text (35)

@AndrewMarkarian You should make a try and catch and then when the player goes out, you tp them back

AndrewMarkarian (19)

@SeamusDonahue I think someone has a suggestion for you.

AlexyNikolaev1 (1)

Lively and entertaining, this is a game that must go on!

tankerguy1917 (174)

Wow. That was really fun. I like how you used the text as goal to get the box. I also like the "narrator", I don't know what to call it.

shllshckd (1)

it's great, i like it

SeamusDonahue (439)

Thanks! I hope this inspires you to make something of your own! @shllshckd

Muffinlavania (1513)

ayyyyyyyyyyyyyyyy maze games are cool
also wow i have never seen anyone put mazes in .txt files, thats pretty nice (but there are a lot of files wow)

RundaBjrn (1)

Super cool project!

catspython (27)


was on level 16 pushing a box out of the "barrier"(ring of hash tags), then it gave me that error,
then I thought that I left the bounds,


there's what happened when I tried to leave the bounds as soon as I could.

SeamusDonahue (439)

oof, I didn't account for someone going that far out of bounds, sorry! @catspython

EdrisBajbaa (0)

Bruh what is that ???
I don't get it is that game my 7 old brother made that
If u want to do something make the plan and do it in the best wayyyyy

Moh0009 (1)

This game is ███████╗██╗░░░██╗███╗░░██╗
██╔════╝██║░░░██║████╗░██║
█████╗░░██║░░░██║██╔██╗██║
██╔══╝░░██║░░░██║██║╚████║
██║░░░░░╚██████╔╝██║░╚███║
╚═╝░░░░░░╚═════╝░╚═╝░░╚══╝
Copy and paste:)

s181075 (0)

oh I finally found it! I played it a while back but lost the link. I'm gonna comment here so I can find it again.

stanleymchen (0)

the "classic level" lvl 5 or 6 has passable barriers but at the same time has some sort invisible barrier in certain areas

MikeJMS8910 (106)

Can you make a tutorial on how to move characters like that

gabrielegam (0)

teach me everything you know so i can cheat at computing

XanthusPettitt (7)

super cool game and took me a few tries to get it lol

CharlesHTMLNoob (0)

I crashed the game by moving out of bounds. Huh.

CharlesHTMLNoob (0)

This genre of game is called "sokoban".

RhinoRunner (708)

I played this a few days a go, but when i try to run it no it just doesnt do anything.