Create games using Delphi. Delphi Games programming resources, tools, components, free code apps and more.
In Machine Flow, all programming tasks are carried out by marbles. Yes, Marbles. They 'flow' around on rails, set on top a giant wooden table, carrying one variable of data around each. Each set of rails is connected to an input or output of an Operator - a little box which does something with the marbles (Add, Duplicate, Test, etc.).
Snake game has its history roots in the late 1970. The player controls a snake which gets bigger by every piece of food it "eats". Snake must avoid hitting its own tail or the "walls" that surround the playing area. Here's a Delphi implementation including full soure code.
Peg Solitare Solver computes solutions for the game peg solitaire. Full Delphi source code included.
Tetravex is a puzzle game where a player needs to place the tiles in the grid in the proper position. Two tiles can only be placed next to each other if the numbers on adjacent faces match. Want to play one created using Delphi (including full 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! This version features: single player mode; two player mode; network mode.
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.
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 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 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 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 2 Delphi project is dedicated to converting the Quake 2 Visual C code to Delphi code.
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.
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.
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. 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 3D Engines List tries to provide an overview of software 3D engines for real-time graphics and VR on various platforms.
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.
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...
Great starting point for games development. Lots of links.
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.
Another Delphi site for game developers, has several interesting articles...
Arcade quality animation and sprite management with TurboSprite. TurboSound is a set of Delphi components that helps manage sound.
Pascal sources for various games (tetris, arkanoid, tictactoe). Great for learning.
The Game Development Search Engine is linked to thousands of game development websites that contain tutorials, examples and source code.
A game for 1 or 2 players...guess the letters in the hidden words of the puzzle to win. Freeware + source code.
[Download] Game card component - great to help you to program card games.
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.
A simple Tetris clone. Requires
DelphiX to compile.
Delphi strategic game with source. The goal of the game is to place pieces on a grid so that they make a square.
Full VCL encapsulation of the Microsoft WinG fast graphics API for games and animation.
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.