Arkanoid
On an Internet forum a person came with their homework, to write Arkanoid in a console - it seemed they wanted someone to do their homework for them so I did not respond. However, I found the task interesting, especially when I broadened the scope of the assignment - so I wrote such arkanoid for my own entertainment. However, I don't really know C coding patterns so I'd be interested to know what more experienced devs think about my code.
Arkanoid
I grew up on breakout and super breakout on the atari 2600 with the paddle controllers and they were addidcting and i still have them in pristine condition,lol then arkanoid was released on the nes packaged with it's special controller and i bought it and played it and loved it,(still have the controller) then alleywat came to game boy which was no doubt a clone of arkanoid and i enjoyed it as well,these were great games now this horrible arkanoid ds wtf?! I bought my ds for certain revised titles not it's everyday trash,handhelds just do not get it done...i bought the jap dsi way back in november and i must say it sucks,the camera and functionality is very poor..it was obviously more of a marketing scheme than anything but what do the gamers know of marketing they just keep buying trash like that without knowing.
So, to define the problem, this is an elastic (as in, no energy is absorbed) collision between an arkanoid ball and a paddle. First of all, since you've obviously got the vertical motion down, I won't concern myself with that. So what follows is all on the horizontal components of the collsions. 041b061a72