CodeBase - Simple Pong with AI
Return to the CodeBase listing
Category: 2D
Version: 1.0
Information
Uploaded: 3rd May 2005 03:55
Modified: 1st Jan 1970 01:00
Author: dlefik 2008
Summary
Simple Player Vs. Computer Pong
Full Description
This is actually my first game attempt in DarkBasic Pro, but it's a great learning experience for me, despite the fact the game is way outdated and done way too many times. The controls are simple, mouse controls the players x and y movement, "P" pauses the game, and "R" resumes the game during pause stage. The computer player will also move around on X and Y axis to get the ball. This is my first ever sttempt at a simple AI so it may look silly and not act the smartest, but it makes the game playable. Hope this can be a good starter for someone new such as myself, or just something to look at. No media required, just copy and paste into DarkBasic. This was programmed on Pro, but tested in DBC 1.13. Game is still functional in DBC but pretty slow and laggy.
Comments
No comments yet.