Weekend Programming Challenge – Week #27 – Angry Birds



Write code which calculates the trajectory of Angry-bird with these input parameters: Angle, Initial Force, Bird Weight, Air resistance, Earth Gravity. If your tools allow animation great, otherwise even simply ascii art drawing is OK 🙂

The rules:

You can code the solution in any programming language during the weekend and have to submit it to info@olimex.com latest on Sunday Octover 6th.

On Monday we will upload the solutions on GitHub https://github.com/OLIMEX/WPC

You can play with your real name or with nick if you want to be anonymous, we will not disclosure your personal info if you do not want to.

3 Comments (+add yours?)

  1. Martin
    Oct 04, 2013 @ 17:41:42

    Could you provide simple input and output?
    I am more interested in the output. Should it be a formula of the y value in regards of the x argument or I should print the (x,y) value for a given step?
    Can we use any graphic engines?


    • Emiliano Daddario
      Oct 04, 2013 @ 21:50:53

      Talking of sample input, I suggest that Olimex asks the participants to write (in the language of choice) a test which tests that the output of the code for the sample input is equal to the sample output. A test, full stop.


  2. karme
    Oct 06, 2013 @ 14:10:42

    don’t you mean “initial velocity” instead of “initial force” ?


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 )

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

%d bloggers like this: