Eternal Density wrote:Using sudo with pip install isn't best practice. […]
I know about virtualenv, that's how I access Python 3, but I need the standard Python to be in the standard place on my system, for long-term stability. sudo
is just fine.
On Ubuntu 16.04 LTS, just doing pip install
Code: Select all
OSError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/pygame-1.9.3.dist-info'
Very nice improvements Hotdog Vendor @Sustainabilizer
! (I did have to re-add a "#!/usr/bin/env python
" line at the beginning)
The speed is just about right (for me).
But no speed is right for everyone, which reminds me of my experience with the adjustable-speed Ch*rpy Raptor
which was based on @adnapemit
's ASCII adaptation of Flappy Bird
. If you set the speed to 0.00277777…
, which is one frame per newpix, play becomes very difficult because you'll go off and do other things, or go to sleep or something, and forget to hit the up-arrow at the proper time.1190: "Time": INSTANT TIMEFRAMES, JUST ADD BLACK PIXELSby mrob27 at 20180330.00:39:56 UTC == newpix 44061.66
I went and did something fiendish.
Find the "clock.tick(40)
" or "clock.tick(self.speed)
" line and change it to: clock.tick(40 + (self.score // 10))
Manual speed-adjustment unnecessary, the hotdog automatically adapts to the skill of the
player. Addictiveness achieved.