Possible Duplicate:
How do I generate terrain like that of Scorched Earth?How do I generate terrain like that of Scorched Earth?
How can I generate Worms-style terrain?How can I generate Worms-style terrain?
I must build random curve line for the 2D Game on the BitMap (like in Worms, from the side).
Teacher said that I should do it using Terrain Generation through recourcy (I work in Delphi 7). I understand the main principle, but I don't know how to introduce it as code.
All measurements according to the screen resolution.