<feed xmlns='http://www.w3.org/2005/Atom'>
<title>flappy-bird-pygame, branch master</title>
<subtitle>Clone of Flappy Bird, using Pygame
</subtitle>
<id>http://git.twilken.net/flappy-bird-pygame/atom?h=master</id>
<link rel='self' href='http://git.twilken.net/flappy-bird-pygame/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.twilken.net/flappy-bird-pygame/'/>
<updated>2020-08-13T10:43:47Z</updated>
<entry>
<title>Link to forks in README.</title>
<updated>2020-08-13T10:43:47Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2020-08-13T10:43:47Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/flappy-bird-pygame/commit/?id=e2fbb4d35a30fbf84b81ee9e6480591419459a10'/>
<id>urn:sha1:e2fbb4d35a30fbf84b81ee9e6480591419459a10</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Look for images relative to script, not cwd.</title>
<updated>2020-08-13T10:34:44Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2020-08-13T10:34:10Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/flappy-bird-pygame/commit/?id=3fecf2d8008e54efe2330455063af42142339ea4'/>
<id>urn:sha1:3fecf2d8008e54efe2330455063af42142339ea4</id>
<content type='text'>
Closes #3.
</content>
</entry>
<entry>
<title>Removed pipe addition event; minor cleanup</title>
<updated>2014-10-25T16:55:15Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2014-10-25T16:55:15Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/flappy-bird-pygame/commit/?id=a8a2727d6faf342a1fbd78551426e5916782393c'/>
<id>urn:sha1:a8a2727d6faf342a1fbd78551426e5916782393c</id>
<content type='text'>
* pipe addition is no longer controlled by an event; it is now directly performed when the event was added previously
* general code &amp; documentation cleanup: see diff</content>
</entry>
<entry>
<title>General cleanup</title>
<updated>2014-09-26T21:26:01Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2014-09-26T21:26:01Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/flappy-bird-pygame/commit/?id=f2138f983b7b72521dece2ce70a028418599a550'/>
<id>urn:sha1:f2138f983b7b72521dece2ce70a028418599a550</id>
<content type='text'>
* more readable shebang
* removed trailing whitespace
* fixed some indentation which was slightly off
* added docstrings (code is now 100% documented)
* made while-loop condition more pythonic
</content>
</entry>
<entry>
<title>Clean up code</title>
<updated>2014-09-06T10:01:23Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2014-09-06T10:01:23Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/flappy-bird-pygame/commit/?id=8e2fcb15cfd2e63d1de834f60fa30f4fbe527250'/>
<id>urn:sha1:8e2fcb15cfd2e63d1de834f60fa30f4fbe527250</id>
<content type='text'>
In PipePair.__init__, the self.*_height_px properties are now used.
In PipePair.collides_with, the docstring was updated to reflect the changed parameter name -- I forgot that earlier.</content>
</entry>
<entry>
<title>Update terminology</title>
<updated>2014-08-31T20:13:41Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2014-08-31T20:13:41Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/flappy-bird-pygame/commit/?id=ef1509697e1776f753cebed06f5f9532bc384a88'/>
<id>urn:sha1:ef1509697e1776f753cebed06f5f9532bc384a88</id>
<content type='text'>
'Jumping' is now 'climbing' and 'dropping' is now 'sinking'.
</content>
</entry>
<entry>
<title>Add playing instructions to README.md</title>
<updated>2014-08-31T20:01:22Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2014-08-31T20:01:22Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/flappy-bird-pygame/commit/?id=03c8ff1c45af2bb55ddd2eb7adefb7f85f71d22c'/>
<id>urn:sha1:03c8ff1c45af2bb55ddd2eb7adefb7f85f71d22c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add mask to PipePair and Bird</title>
<updated>2014-08-31T19:00:32Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2014-08-31T19:00:32Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/flappy-bird-pygame/commit/?id=f528fdae4fec4e712196074e0adfe032d8f66caa'/>
<id>urn:sha1:f528fdae4fec4e712196074e0adfe032d8f66caa</id>
<content type='text'>
The new mask attributes can be used for more accurate collision
detection.
</content>
</entry>
<entry>
<title>Converted all timing to milliseconds</title>
<updated>2014-08-31T18:32:11Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2014-08-31T18:32:11Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/flappy-bird-pygame/commit/?id=9004aa50274c8d2240c0246830887847685bfd14'/>
<id>urn:sha1:9004aa50274c8d2240c0246830887847685bfd14</id>
<content type='text'>
The FPS constant can now be changed without affecting the perceived
'speed' of the game.
</content>
</entry>
<entry>
<title>Move some pipe management into PipePair</title>
<updated>2014-08-31T17:35:13Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2014-08-31T17:35:13Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/flappy-bird-pygame/commit/?id=8ec84b5ae5b6d9eabff76aa45cecda442e297c1a'/>
<id>urn:sha1:8ec84b5ae5b6d9eabff76aa45cecda442e297c1a</id>
<content type='text'>
Most notably, PipePair now has an update method to update its position.
</content>
</entry>
<entry>
<title>Move steps_to_jump into Bird class</title>
<updated>2014-08-31T16:11:05Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2014-08-31T16:11:05Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/flappy-bird-pygame/commit/?id=cee330895d9090b27dc8d77181d7d185e6739cce'/>
<id>urn:sha1:cee330895d9090b27dc8d77181d7d185e6739cce</id>
<content type='text'>
The ex-local variable in main(), steps_to_jump, has been merged into the
Bird class to keep all bird behaviour together.
</content>
</entry>
<entry>
<title>Merge get_frame_jump_height into Bird.update</title>
<updated>2014-08-31T16:02:28Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2014-08-31T16:02:28Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/flappy-bird-pygame/commit/?id=6a9bd991980c8d2dc6947adad94c46f9be3e4ba5'/>
<id>urn:sha1:6a9bd991980c8d2dc6947adad94c46f9be3e4ba5</id>
<content type='text'>
get_frame_jump_height was only used by Bird.update anyway. Relevant
information from get_frame_jump_height's docstring has been merged into
Bird.update's docstring.
</content>
</entry>
<entry>
<title>Fix pause handling and pipe addition</title>
<updated>2014-08-31T15:51:24Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2014-08-31T15:51:24Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/flappy-bird-pygame/commit/?id=69253e3e87dc5ef5c3d45879744faf15f475ed74'/>
<id>urn:sha1:69253e3e87dc5ef5c3d45879744faf15f475ed74</id>
<content type='text'>
Pipes are now added at regular intervals, regardless of any pauses in
between. Previously, pausing the game could mess up pipe intervals.
</content>
</entry>
<entry>
<title>Update usage of constants in comments</title>
<updated>2014-08-31T14:26:23Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2014-08-31T14:26:23Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/flappy-bird-pygame/commit/?id=4295b9f7bb12e79c94892a34bda9a5a549701b02'/>
<id>urn:sha1:4295b9f7bb12e79c94892a34bda9a5a549701b02</id>
<content type='text'>
Some old constants in docstrings and comments have been replaced with
their new counterparts.
</content>
</entry>
<entry>
<title>Add and use new Bird class, move some constants</title>
<updated>2014-08-31T09:06:52Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2014-08-31T09:06:52Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/flappy-bird-pygame/commit/?id=a08a89c94c97709713a4b6b601a62d296f7e1b70'/>
<id>urn:sha1:a08a89c94c97709713a4b6b601a62d296f7e1b70</id>
<content type='text'>
All bird positioning and processing code has been moved into a new Bird
class.
Some constants have been moved into the Bird and PipePair classes, and
their usage has been updated.
For simplicity's sake, PipePair.collides_with() now accepts the bird's
rect instead of its position.
</content>
</entry>
<entry>
<title>Update collision detection code</title>
<updated>2014-08-30T18:14:39Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2014-08-30T18:14:39Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/flappy-bird-pygame/commit/?id=1854ebc4bb900a5a9de5db831424f5ff13682cb6'/>
<id>urn:sha1:1854ebc4bb900a5a9de5db831424f5ff13682cb6</id>
<content type='text'>
Update PipePair.collides_with() to use Rects
Change collision code in main() to use any()
Move Game Over message
</content>
</entry>
<entry>
<title>Use collections.deque for pipes</title>
<updated>2014-08-30T17:57:18Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2014-08-30T17:57:18Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/flappy-bird-pygame/commit/?id=66e2004167259547896687666796c4112c7e9642'/>
<id>urn:sha1:66e2004167259547896687666796c4112c7e9642</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix bugs</title>
<updated>2014-08-30T17:48:39Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2014-08-30T17:48:39Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/flappy-bird-pygame/commit/?id=80dfe35a2fff90d060a3652413a5a06e86dc98b6'/>
<id>urn:sha1:80dfe35a2fff90d060a3652413a5a06e86dc98b6</id>
<content type='text'>
Forgot a few things earlier.
</content>
</entry>
<entry>
<title>Change pause handling</title>
<updated>2014-08-30T09:51:26Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2014-08-30T09:51:26Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/flappy-bird-pygame/commit/?id=cee79039ec9ec2d58845bf518dd52513ad06c60f'/>
<id>urn:sha1:cee79039ec9ec2d58845bf518dd52513ad06c60f</id>
<content type='text'>
Now, you can resume a paused game! Pipes still aren't added while paused.
</content>
</entry>
<entry>
<title>Merge branch 'master' of https://github.com/TimoWilken/flappy-bird-pygame</title>
<updated>2014-08-29T19:46:56Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2014-08-29T19:46:56Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/flappy-bird-pygame/commit/?id=fa885908ab0a295c36a30ddc16ea6a01fcfa04b0'/>
<id>urn:sha1:fa885908ab0a295c36a30ddc16ea6a01fcfa04b0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Incorporate some of Stick's suggestions</title>
<updated>2014-08-29T19:46:13Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2014-08-29T19:46:13Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/flappy-bird-pygame/commit/?id=c6588207a7294dee6cbf3d752b1d5e7d5f763282'/>
<id>urn:sha1:c6588207a7294dee6cbf3d752b1d5e7d5f763282</id>
<content type='text'>
Moved collision checking to start of loop; now using pygame.display.flip
instead of pygame.display.update.
See: http://codereview.stackexchange.com/a/61487/52040
</content>
</entry>
<entry>
<title>Update README.md</title>
<updated>2014-08-29T19:01:42Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2014-08-29T19:01:42Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/flappy-bird-pygame/commit/?id=207baa0784bb7ecb001cf483ab0f4c07001cb6ae'/>
<id>urn:sha1:207baa0784bb7ecb001cf483ab0f4c07001cb6ae</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Incorporated janos's suggestions</title>
<updated>2014-08-29T18:46:45Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2014-08-29T18:46:45Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/flappy-bird-pygame/commit/?id=ae76043f82f3e45b118e2300181346e090fdf9de'/>
<id>urn:sha1:ae76043f82f3e45b118e2300181346e090fdf9de</id>
<content type='text'>
See: http://codereview.stackexchange.com/a/61482/52040
</content>
</entry>
<entry>
<title>Incorporate vnp's suggestions</title>
<updated>2014-08-29T18:38:33Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2014-08-29T18:38:33Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/flappy-bird-pygame/commit/?id=583c3e49e7b23762b071e51db1d7f7487a3012e9'/>
<id>urn:sha1:583c3e49e7b23762b071e51db1d7f7487a3012e9</id>
<content type='text'>
See: http://codereview.stackexchange.com/a/61481/52040
</content>
</entry>
<entry>
<title>Second commit</title>
<updated>2014-08-29T17:01:30Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2014-08-29T17:01:30Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/flappy-bird-pygame/commit/?id=ec3667551a15cb96b5c28fd1bb4967303fb05054'/>
<id>urn:sha1:ec3667551a15cb96b5c28fd1bb4967303fb05054</id>
<content type='text'>
Commit code that I already wrote before creating the repo.
</content>
</entry>
<entry>
<title>Initial commit</title>
<updated>2014-08-29T16:47:50Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2014-08-29T16:47:50Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/flappy-bird-pygame/commit/?id=1c4fc00ed9cd74b9339d5146139a330cc9d31d2d'/>
<id>urn:sha1:1c4fc00ed9cd74b9339d5146139a330cc9d31d2d</id>
<content type='text'>
</content>
</entry>
</feed>
