SnappyBird in 100 lines of code

Here’s a simple version of FlappyBird written in 100 lines of Java code in SnapCode with SnapKit and compiled to JavaScript. It’s part of my “summer of code” with my kids – a series of 1-2 page fun apps that we discuss, they type in and debug, then we discuss again. Not the most active style of teaching, but reminiscent of my childhood typing in programs from SoftSide magazine or 101 Basic Computer Games by David H. Ahl.

SnappyBird

Click to Play

Source is available under the source tab in the app or here.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: