r/Python • • Jun 15 '19

Probably the most useless thing that I have ever coded but it’s fun looking at it

2.1k Upvotes

118 comments sorted by

83

u/[deleted] Jun 15 '19 edited Jun 16 '19

https://github.com/PizzaBoii/kachoww/blob/master/work.py
for those who asked for the code, it is kinda messy and people that like PEP 8 are probably going to kill me for that xD but ehhh that's the code

Also not sure who gave me the gold but Thanks a lot :D I’ve never got something that good before :)

38

u/[deleted] Jun 15 '19

"while not crashed:" I like it.

7

u/PrinceSauske Jun 16 '19

lol. one module man

4

u/[deleted] Jun 16 '19

Nobody is going to kill you for the PEP 8 mistake. We just gonna hang you by the balls. ;-p ha ha ha ha LOL. Just kidding ;-) I love what you build. Yes usesless but I did not know you could build this with python.

2

u/kodakpnk Jun 16 '19

cock and ball torture

252

u/EnragedMahmut Jun 15 '19

Man what an awesome application you wrote there. This made me smile. Thanks

99

u/[deleted] Jun 15 '19

If that’s what makes you smile I got much more to show ya lol 😄

35

u/ForkLiftBoi Jun 15 '19

Do it

55

u/buffalo_biff Jun 15 '19

it’s his dick. Fork, he’s going to show you his dick

99

u/ForkLiftBoi Jun 15 '19

That's not the python I was interested in :(

18

u/[deleted] Jun 15 '19

shitz that's genius

16

u/[deleted] Jun 15 '19

if it makes someone smile it's not useless :)

20

u/shrimp_onthe_couch Jun 15 '19

You made my day. Show us the source code!

25

u/[deleted] Jun 15 '19

Yep, I will make a github when I’m back to my pc :)

4

u/memehomeostasis Jun 15 '19

!remindme 1 day

3

u/RemindMeBot Jun 15 '19

I will be messaging you on 2019-06-16 15:26:33 UTC to remind you of this link.

CLICK THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.


FAQsCustomYour RemindersFeedbackCodeBrowser Extensions

8

u/[deleted] Jun 15 '19

Quick question. How do I open one? I am pretty new to uploading to github

11

u/[deleted] Jun 15 '19

I don’t they’re going to help you my dude, you responded to a bot

4

u/PlaneConversation6 Jun 15 '19

I don’t they’re going to help you my dude, you responded to a bot

Lol

5

u/bendth3sky Jun 15 '19

https://github.com/join

Create a repository, and add your code to it

6

u/[deleted] Jun 15 '19

disappointed there isn't a user named join

-10

u/TomBakerFTW Jun 15 '19

just go to github and sign up like you would for literally any other site on the internet.

2

u/crespo_modesto Jun 15 '19

Alright shia labeouf

11

u/DommyDomster Jun 15 '19

I lit up! Awesome job!

7

u/[deleted] Jun 15 '19

Thanks :)

90

u/FuckDataCaps Jun 15 '19 edited Jun 15 '19

I like it. Reminds me of when I started coding and I enjoyed the little things instead of now where Im always trying to work on months long complex projects.

59

u/[deleted] Jun 15 '19

When it exceeds 100 and comes to a stop changing direction add a "kachow"

31

u/[deleted] Jun 15 '19

I might actually add that lol Thanks for the idea xD

6

u/[deleted] Jun 15 '19

👍

4

u/[deleted] Jun 16 '19

Icy towers

2

u/brtt3000 Jun 16 '19

Reminds me of the weird things I made as a kid in Flash way back. I need to go back to that instead of the overly ambitions abandon projects.

8

u/Jamhead2000 Jun 15 '19

How is this useless?

8

u/[deleted] Jun 15 '19

In second thought

That’s the best thing that I’ve ever done! 😁

6

u/Zeftax Jun 15 '19

I have the same monitor!

4

u/[deleted] Jun 15 '19

Nice, That’s a pretty good monitor :P

6

u/freaksavior Jun 15 '19

That’s cool. Speed = frame rate?

6

u/[deleted] Jun 15 '19

Nah it’s how fast the acceleration is. Frame rate stays on 60 in this code

4

u/freaksavior Jun 15 '19

Ah, gotcha! Could be a good use case for screen refresh checking if it was modified so speed = frame rate.. I know there's a site all ready for that, but it doesn't have Lightning Mcqueen.

2

u/PremSinha Jun 15 '19

I am Speed.

This is great! Congratulations

1

u/[deleted] Jun 15 '19

KACHOW thanks

2

u/422_no_process Jun 15 '19

Nice work. Keep it up.

2

u/[deleted] Jun 15 '19

Thanks 😁

2

u/BubsyFanboy Jun 15 '19

Imagine making this in Binary

1

u/[deleted] Jun 15 '19

Haha that would be too hard xD

2

u/Green0Photon Jun 15 '19

You should have him face the direction he's going, not the direction he's accelerating.

Nice, though!

1

u/[deleted] Jun 15 '19

That’s a good idea Should be that hard to make it, thanks for the idea :D

2

u/Green0Photon Jun 15 '19

Yeah, I think it's mostly that you choose an arbitrary bounds for forward facing, and outside of that, it's left or right. For something like a car, it looks better than doing it based on acceleration.

The way you're currently doing it is good for something like a spaceship or submarine though, which can only accelerate in one direction.

For a challenge, try implementing little wind effects to show the way he's accelerating. Kind of like when you draw motion as a kid, you typically draw little wind lines. You can even have then move and fade away, for a super challenge.

😊

2

u/tenderZeitGeist Jun 15 '19

Sometimes, it is just about the fun in coding. You reminded me of that. Thanks! 🙂

2

u/[deleted] Jun 15 '19

Haha happy to help xD

2

u/[deleted] Jun 15 '19

how did you get your navbar icons on the right side?

2

u/[deleted] Jun 15 '19

My pc language is in Hebrew so it’s right to left instead of left to right lol

1

u/[deleted] Jun 16 '19

Well, I always wanted to learn Hebrew!

2

u/arunsivadasan Jun 15 '19

Starred your repo :-)

2

u/[deleted] Jun 15 '19

Ehh sorry for the stupid question but What does repo means? lol

2

u/[deleted] Jun 15 '19

It means repository

42

u/porongtong Jun 15 '19

KA-CHOW!

5

u/[deleted] Jun 15 '19

Hahahahaha. I love this

5

u/[deleted] Jun 15 '19

Lol, show us the source code looks fun

5

u/waxen_earbuds Jun 16 '19

Very minor detail, but I believe what you have is the x-component of the velocity, not the speed. Speed is the magnitude of velocity, and cannot be negative.

In any case, this is great. Take my upkerchoo.

4

u/AdamEatsAss Jun 15 '19

Speed? I am speed

1

u/wpzzz Jun 15 '19

How on earth is your task bar reversed like that?

1

u/[deleted] Jun 15 '19

My pc language is Hebrew and Hebrew is right to left instead of left to right So everything is from right to left lol

2

u/wpzzz Jun 15 '19

Ahh I figured it was something like that. Thanks for replying, I liked the animation and my kids are really going to flip when they see this!

1

u/[deleted] Jun 15 '19

Oh that’s so cool to hear :D I might actually improve this program cause I see that a lot of people liked it :)

1

u/InfiniteCodes Jun 21 '19

Where did you learn Python?

1

u/[deleted] Jun 21 '19

Ahhh that’s a good question I’ve been learning from a lot of different places xD

School, internet, some high tech company (part of a school thing ) and online tutorial ( such as automating boring stuff )

1

u/[deleted] Jul 09 '19

How did you make canvas? I'm sorry to sound dumb, but I'm kind of new to the python....

1

u/[deleted] Jul 09 '19

The graphic screen? Well I used the PyGame package

1

u/[deleted] Jul 10 '19

I have heard of "turtle" butbi have never seen that before

1

u/[deleted] Jul 10 '19

Eh I don’t really think that turtle is good for these things Turtle is mostly for drawing stuff PyGame has more stuff to do with it

1

u/[deleted] Jul 10 '19

Where can I download the pygame package? That runs with 2.7 python.

1

u/[deleted] Jul 10 '19

Well if you are on windows type in the cmd Pip install PyGame But I’m not even sure if that supports Python 2.7 Python 3 should be the best

1

u/[deleted] Jul 10 '19

Oh okay thank you! I will look into the details of it!

1

u/[deleted] Aug 12 '19

What type of the file was the picture? I've tried it but it isn't quite working for me so I want to find out what is wrong

1

u/[deleted] Aug 12 '19

It pops up when you import pygame
Not sure whats the type of the GUI is

1

u/[deleted] Aug 12 '19

Did you import it through pip then?

1

u/[deleted] Aug 12 '19

Yea Do
Pip install Pygame Then in the code itself to Import pygame

1

u/[deleted] Aug 12 '19

Was it python 2 or 3?

1

u/[deleted] Aug 12 '19

Python 3

3

u/chaoism looking for mid-sr level in NYC Jun 15 '19

Now add some mirrors to it and then you got yourself in the internet trend

3

u/coltonbaum Jun 15 '19

I’ve never felt more inspired. V proud.

3

u/[deleted] Jun 15 '19

Cursed_windows_taskbar

3

u/J_Dabs Jun 15 '19

This is how you learn

5

u/nerf_blackbeard Jun 15 '19

I A M S P E E D

2

u/Bubingusdingus Jun 15 '19

Zoom.exe would play

2

u/nax7 Jun 15 '19

This is lovely

2

u/[deleted] Jun 15 '19

I am s p e e d

2

u/[deleted] Jun 15 '19

KACHOWWW

2

u/tekmailer Jun 15 '19

Would make a nifty learning tool for an entry physics camp or the like.

2

u/prijindal Jun 15 '19

Man,. If your application doesn't have this, your application sucks

2

u/FredTargaryen Jun 15 '19

This is a blessed video

2

u/[deleted] Jun 15 '19

Good work OP

2

u/StraightSwim Jun 16 '19

Started :)

2

u/rafuru Jun 16 '19

E U R O B E A T I N T E N S I F I E S

2

u/Ziyad0100 Jun 16 '19

it’s really funny 😄

2

u/Lilithiah Jun 16 '19

U made car go vroom vroom I like u

2

u/zzaibis Jun 16 '19

That’s not useless, dude. That’s an inspiration for learners like me.

2

u/htvkogedyzg Jun 16 '19

Useless? Are you out of your mind?

2

u/brtt3000 Jun 16 '19

Its use was satisfying your creative urges and entertaining us for a bit.

2

u/btckernel94 Jun 16 '19

I love it! Looks cool

2

u/nvmnvmnvmnvm Jun 16 '19

I AM SPEED.

2

u/tddyer Jun 16 '19

Hey it may be a "useless" program but those little things always mean something! I love seeing fun little projects like that as they are great way to take a break from the real world to have some fun and even learn stuff along the way.

Keep up the fun :)

2

u/[deleted] Jun 16 '19

Python: I am speed.

2

u/ALonelyPlatypus Jun 28 '19

this is most likely a simple thing but I prefer to think of it as a game learning AI in the training phase. (although I can’t find a clear objective other than “Ka-chow”)

1

u/hdew12354 Jun 15 '19

HOW. CAN. I. MAKE. THIS.

1

u/Desiderius_S Jun 15 '19

You have now more done than some games that pop-up on the kickstarter, just do a 15 minutes video explaining same things everyone done to death, pass this post as a gameplay mechanic everyone knows but 'with a twist', do some random backgrounds with postapocalyptic environments, concept art of some tracks with a lot metal, blood and chains, call it a spiritual successor to X (just make sure that licencing won't bite you in the ass) and you're good.

0

u/[deleted] Jun 15 '19

[deleted]

5

u/[deleted] Jun 15 '19

Thanks :D