Game Programming
Create games using Delphi. Delphi Games programming resources, tools, components, free code apps and more.
Pong Game (Network Version) for 2 Players
Pong game is based on the sport of table tennis (or "ping pong"), and named after the sound generated by the circuitry when the ball is hit. Want to play one built with Delphi - full source code included! This version features: single player mode; two player mode; network mode.
Pong game is based on the sport of table tennis (or "ping pong"), and named after the sound generated by the circuitry when the ball is hit. Want to play one built with Delphi - full source code included! This version features: single player mode; two player mode; network mode.
15 Puzzle Game with Delphi Source Code
A well known hand game, called 15 puzzle, is a real gem. The problem is simple: there's a 4x4 filed with 16 pieces where one piece was removed. The remaining 15 pieces are put in random place. The goal of the 15 puzzle game is to is to unjumble the squares by only making moves which slide squares into the empty space, in turn revealing another empty space in the position of the moved piece.
A well known hand game, called 15 puzzle, is a real gem. The problem is simple: there's a 4x4 filed with 16 pieces where one piece was removed. The remaining 15 pieces are put in random place. The goal of the 15 puzzle game is to is to unjumble the squares by only making moves which slide squares into the empty space, in turn revealing another empty space in the position of the moved piece.
Dodge Game with Delphi Source Code
Here's another simple yet addictive game written in Delphi. Dodge game has a simple rule: collect the blue squares, avoid the red dots. A great way to learn controlling the mouse :) Dodge game - full source code included!
Here's another simple yet addictive game written in Delphi. Dodge game has a simple rule: collect the blue squares, avoid the red dots. A great way to learn controlling the mouse :) Dodge game - full source code included!
Pong Game with Delphi Source Code
Pong game is based on the sport of table tennis (or "ping pong"), and named after the sound generated by the circuitry when the ball is hit. Want to play one built with Delphi - full source code included!
Pong game is based on the sport of table tennis (or "ping pong"), and named after the sound generated by the circuitry when the ball is hit. Want to play one built with Delphi - full source code included!
Tetris - Delphi Version with Source Code
Tetris is a popular "falling-blocks puzzle" single-player computer game originally developed in 1985/86. The object of the game is to manipulate "tetraminoes" (composed of four square blocks each) by moving each one sideways and rotating it by 90 degree. Here's a Delphi version with sources.
Tetris is a popular "falling-blocks puzzle" single-player computer game originally developed in 1985/86. The object of the game is to manipulate "tetraminoes" (composed of four square blocks each) by moving each one sideways and rotating it by 90 degree. Here's a Delphi version with sources.
Minesweeper Game - Delphi Version with Source Code
Minesweeper is a single-player computer game. The object of the game is to clear a minefield without detonating a mine. The most well-known version comes bundled with Windows. Here's a Delphi version with sources.
Minesweeper is a single-player computer game. The object of the game is to clear a minefield without detonating a mine. The most well-known version comes bundled with Windows. Here's a Delphi version with sources.
Quake II Game
Quake 2 Delphi project is dedicated to converting the Quake 2 Visual C code to Delphi code.
Quake 2 Delphi project is dedicated to converting the Quake 2 Visual C code to Delphi code.
Sokoban Game
Sokoban means warehouse keeper in Japanese. The object of the game is to push chests into their correct position in a crowded warehouse with a minimal number of pushes and moves.
Sokoban means warehouse keeper in Japanese. The object of the game is to push chests into their correct position in a crowded warehouse with a minimal number of pushes and moves.
Real-time 2D particle systems (with gravitation!)
This tutorial is going to discuss a library of Delphi routines that will help you create your own particle systems. The term system is defined to mean, 'A group of interacting, interrelated, or interdependent elements forming a complex whole'. You can use the particle to represent a cannonball being shot out of a cannon - in trajectory games.
This tutorial is going to discuss a library of Delphi routines that will help you create your own particle systems. The term system is defined to mean, 'A group of interacting, interrelated, or interdependent elements forming a complex whole'. You can use the particle to represent a cannonball being shot out of a cannon - in trajectory games.
About Delphi Programming Tic-Tac-Toe Contest - Winning code
Featuring top 10 TicTacToe entries (with Delphi code) that were selected to win our online programming contest.
Featuring top 10 TicTacToe entries (with Delphi code) that were selected to win our online programming contest.
A Simple example of Artificial Intelligence using Delphi
A Simple example of Artificial Intelligence using Delphi. The article explores Delphi approach to AI, using the pebble picking game. A simple game is used to show how computer can learn by correcting mistakes.
A Simple example of Artificial Intelligence using Delphi. The article explores Delphi approach to AI, using the pebble picking game. A simple game is used to show how computer can learn by correcting mistakes.
3D Engine List
The 3D Engines List tries to provide an overview of software 3D engines for real-time graphics and VR on various platforms.
The 3D Engines List tries to provide an overview of software 3D engines for real-time graphics and VR on various platforms.
A Simple example of Artificial Intelligence using Delphi
The article explores Delphi approach to AI, using the pebble picking game. A simple game is used to show how computer can learn by correcting mistakes.
The article explores Delphi approach to AI, using the pebble picking game. A simple game is used to show how computer can learn by correcting mistakes.
A Quick and Dirty VCL Sprite Engine
How to create a simple sprite engine with the VCL. Code for CBuilder should be easy to understand and translate to Pascal. Draw an image to a specific position and region. Draw a background image and foreground sprites without flicker. Allow a transparency color, to show the background around irregular shaped sprites...
How to create a simple sprite engine with the VCL. Code for CBuilder should be easy to understand and translate to Pascal. Draw an image to a specific position and region. Draw a background image and foreground sprites without flicker. Allow a transparency color, to show the background around irregular shaped sprites...
Creating Hot Games
Great starting point for games development. Lots of links.
Great starting point for games development. Lots of links.
Chess 2000
A reasonably advanced chess game, but the code could be a bit yucky to look at. It features such things as square highlighting, undo and redo, piece filtering and serialisation (saving and loading). The main thing missing from this game is AI.
A reasonably advanced chess game, but the code could be a bit yucky to look at. It features such things as square highlighting, undo and redo, piece filtering and serialisation (saving and loading). The main thing missing from this game is AI.
Delphi Game Dev
Another Delphi site for game developers, has several interesting articles...
Another Delphi site for game developers, has several interesting articles...
Silicon Commander Games Delphi Resource Page
Arcade quality animation and sprite management with TurboSprite. TurboSound is a set of Delphi components that helps manage sound.
Arcade quality animation and sprite management with TurboSprite. TurboSound is a set of Delphi components that helps manage sound.
Game Stuff Sources
Pascal sources for various games (tetris, arkanoid, tictactoe). Great for learning.
Pascal sources for various games (tetris, arkanoid, tictactoe). Great for learning.
Game Development Search Engine
The Game Development Search Engine is linked to thousands of game development websites that contain tutorials, examples and source code.
The Game Development Search Engine is linked to thousands of game development websites that contain tutorials, examples and source code.
HangMan
A game for 1 or 2 players...guess the letters in the hidden words of the puzzle to win. Freeware + source code.
A game for 1 or 2 players...guess the letters in the hidden words of the puzzle to win. Freeware + source code.
TEPCard
[Download] Game card component - great to help you to program card games.
[Download] Game card component - great to help you to program card games.
Mastermind
Delphi code for "MasterMind" game clone. The idea of the game is for one player, the code-breaker, to guess the secret code chosen by the other player, the code-maker.
Delphi code for "MasterMind" game clone. The idea of the game is for one player, the code-breaker, to guess the secret code chosen by the other player, the code-maker.
Quod
Delphi strategic game with source. The goal of the game is to place pieces on a grid so that they make a square.
Delphi strategic game with source. The goal of the game is to place pieces on a grid so that they make a square.
RoleWorld
Game Engine & Components
Game Engine & Components
WinG SpriteKit
Full VCL encapsulation of the Microsoft WinG fast graphics API for games and animation.
Full VCL encapsulation of the Microsoft WinG fast graphics API for games and animation.
Tangram
Tangram is a classic Chinese puzzle consisting of 7 pieces cut from a square - 5 triangles, a square and a parallelogram. The object is to reassemble them to form the original square, or any of 100's of other shapes given only the outline of the final figure.
Tangram is a classic Chinese puzzle consisting of 7 pieces cut from a square - 5 triangles, a square and a parallelogram. The object is to reassemble them to form the original square, or any of 100's of other shapes given only the outline of the final figure.
