0

hello everyone
i was wondering if you guys can help me..
i am really tired i havent slept for 2 days trieng to figure out how to do this
i am a begginer in this and my prof asked me a game which is
http://www.miniclip.com/games/fat-slice/en/
he wants it in c language using the 20 years old graphics winbgim...
ok so i didnt know where to start
he told me to declare an array of 0s
and draw a shape inside of it in 1s(rectangle for ex)
and put the ball inside of it
if the ball hits 0s let it bounce back if it hits 1s let it continue its movment
so i dont have an idea where to start
ofcourse i am not asking you to do my job
but i just want you to give me hints steps anything to start with please ...
i would really appriciate it guys
thanks in advance :)

Edited by PESOF

3
Contributors
2
Replies
24
Views
3 Years
Discussion Span
Last Post by iamthwee
1

I think after 48 hours you must have some sort of code.

It will greatly benefit you if you show your two days worth of effort.

0

I was going to say start here:

http://winbgim.codecutter.org/

but before that get on paper how you think this is going to work. Think about frames, ball speed direction and checking collisions.

Once that is all planned on paper start coding, no one here will do it all for you.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.