aboutsummaryrefslogtreecommitdiff
path: root/src/pong.c
Commit message (Collapse)AuthorAgeFilesLines
* p2_ai: Small correction.Atsutane2009-05-071-4/+4
|
* Cleaned a bit up.Atsutane2009-05-071-7/+4
|
* ball_movement(): Fixed Collision detection with the upper and lower parts of ↵Atsutane2009-05-071-12/+38
| | | | | | | a pad. ball_launch(): Fixed rendering and movement bugs. game(): Draw pad of player 1 before entering the main loop.
* game(): Improved performance by switching to usleep() instead of using ↵Atsutane2009-05-071-53/+49
| | | | clock() and CLOCKS_PER_SEC.
* main(): set timeout(-1) after the gamefinished so the screen showing the ↵Atsutane2009-05-061-0/+1
| | | | winner awaits an input.
* game(): Made some small changes to improve playability.Atsutane2009-05-061-4/+3
|
* Added movement for player 1.Atsutane2009-05-061-1/+31
|
* game(): Fixed a major bug...if you name variables similar to functions ↵Atsutane2009-05-051-1/+1
| | | | reread your code twice before taking the next step...
* Fixed some small issues.Atsutane2009-05-051-2/+17
|
* main(): Initialize ncurses and start a game.Atsutane2009-05-051-0/+17
|
* Added game().Atsutane2009-05-051-14/+76
|
* Added ball_launch().Atsutane2009-05-051-0/+36
|
* draw_statusbar: Fixed small issue.Atsutane2009-05-051-1/+1
|
* Added clear_statusbar() and draw_statusbar().Atsutane2009-05-051-1/+32
|
* Wrote p2_ai functionAtsutane2009-05-041-0/+41
|
* ball_movement: Fixed a smaller issue.Atsutane2009-05-041-4/+4
|
* Added data.Atsutane2009-05-041-0/+260