Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Python script kiddy needs help with wank game

Name: Anonymous 2013-07-03 12:47

Now first off, I just want to say that I am not even close to a programmer nor do I wish to try and learn to be one. But I have this python script that I got forever ago off of /d/ that I sometimes make minor adjustments to. This script basically loads images out of a folder and displays them, and a randomized counter than counts down (60, 59, 58...) at random speeds, and an intensity (Hard, Soft, Medium) and you keep going until you cum. I remember it was made in response to the fap gauntlet threads you'd sometime see pop up so it's an endurance kind of game.

Anyway, I was able to change small things like making the random numbers a bit less random. (such as, making the time increments exact numbers ala 1 stroke/sec, 2 strokes/sec instead of 1.5923895 strokes/sec, 3.456235 strokes/sec.)It also had a function where it would download all the picture of a thread to the cache where you store your images, but I am fairly certain that part of it is long broken.

But now what I want to do is whenever it counts down a number, have it also play a short sound, to keep tempo with easily instead of manually looking at the numbers count down (and therefore not at the porn.) But I have run into a bit of a wall.

I figured the mechanism by which it counts down would be a loop with something that just subtracts 1 every loop and that I could just insert some code that would play a sound every loop with it, but I can find no such loop. Even more confusing to me is that I cannot find a simple way to just play audio through python.

So basically; Is what I want to do possible without having to completely alter the code like I was hoping, and if so, how would I do it?

Here is a link to the code for those who want to help or just play a stupid wanking endurance game: http://pastebin.com/mU8CgtMf

Name: Anonymous 2013-07-03 12:58

Terrific

Name: Anonymous 2013-07-03 13:03

nor do I wish to try and learn to be one.
It would be useful if you want to program something

Name: Anonymous 2013-07-03 13:09

>>3
Well of course it would, but I don't have anything that I want to program myself. The only reason I know even a bit of python is because I wanted to mess with this game

Name: Anonymous 2013-07-03 13:16

Oh shit, over 1000 lines of Python code.
That language isn't designed to write such big programs.

Name: Anonymous 2013-07-03 13:21

>>5
The CMS I wrote at work is over 30KLOCs of Python.

Name: Anonymous 2013-07-03 13:27

>>6
Does it even work?

Name: Anonymous 2013-07-03 14:06

This is not contributing to the betterment of humanity you know. Masturbation is already good enough. We really should be working on better problems.

Name: Anonymous 2013-07-03 14:42

I don't understand why people can't just browse their folder, pick a picture and start jerking off.

Name: Anonymous 2013-07-03 14:51

>folder
>stay pleb

Name: Anonymous 2013-07-03 14:56

Not feh -zr -D 5 ~/porn

Name: Anonymous 2013-07-03 15:53

>>10
Apple isn't pleb.

Name: Anonymous 2013-07-04 9:57

>>5
Why would that be bad per-se? I thought there were a lot of large-scale projects coded in python.

Name: Anonymous 2013-07-06 3:45

>>14
And they're all shitty, slow and bug-ridden.

Name: Anonymous 2013-12-22 9:57

YOU HAVE BEEN VISITED BY LE GREEN SAD NEGRO FROGE OF SADDNESS
REPOST THIS IN 100`000 threads or be a frog!

`
           ████████     ██████       
         █░░░░░░░░██ ██░░░░░░█      
        █░░░░░░░░░░░█░░░░░░░░░█     
       █░░░░░░░███░░░█░░░░░░░░░█    
       █░░░░███░░░███░█░░░████░█    
      █░░░██░░░░░░░░███░██░░░░██    
     █░░░░░░░░░░░░░░░░░█░░░░░░░░███ 
    █░░░░░░░░░░░░░██████░░░░░████░░█
    █░░░░░░░░░█████░░░████░░██░░██░░█
   ██░░░░░░░███░░░░░░░░░░█░░░░░░░░███
  █░░░░░░░░░░░░░░█████████░░░█████████
 █░░░░░░░░░░█████ ████   ████ █████   █
 █░░░░░░░░░░█     █ ███  █    ███ █   █
█░░░░░░░░░░░░█   ████ ████   ██ ██████
░░░░░░░░░░░░░█████████░░░████████░░░█
░░░░░░░░░░░░░░░░█░░░░░█░░░░░░░░░░░░█
░░░░░░░░░░░░░░░░░░░░██░░░░█░░░░░░██ 
░░░░░░░░░░░░░░░░░░██░░░░░░░███████  
░░░░░░░░░░░░░░░░██░░░░░░░░░░█░░░░░█ 
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█
░░░░░░░░░░░█████████░░░░░░░░░░░░░░██
░░░░░░░░░░█▒▒▒▒▒▒▒▒███████████████▒▒█
░░░░░░░░░█▒▒███████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒█
░░░░░░░░░█▒▒▒▒▒▒▒▒▒█████████████████
░░░░░░░░░░████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒█
░░░░░░░░░░░░░░░░░░██████████████████
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█    
██░░░░░░░░░░░░░░░░░░░░░░░░░░░██     
▓██░░░░░░░░░░░░░░░░░░░░░░░░██       
▓▓▓███░░░░░░░░░░░░░░░░░░░░█         
▓▓▓▓▓▓███░░░░░░░░░░░░░░░██          
▓▓▓▓▓▓▓▓▓███████████████▓▓█         
▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓██       
▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓█       
▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓█

Name: Anonymous 2013-12-22 20:53

Wang cares!

Name: Anonymous 2013-12-23 4:51

check 'em

Name: Anonymous 2013-12-23 12:09

>>32
:3

Name: Deavmi 2014-01-09 12:50

Okay, I am in the weird section of 4chan once again.

Don't change these.
Name: Email:
Entire Thread Thread List