Site hosted by Angelfire.com: Build your free website today!



pwc_logo_clr_bg2.gif

Peter's Delphi Source Code Page

NB - All of the software which I now write (for myself) is Freeware,
unless otherwise stated. All of the code on this page is freeware open source.



Delphi Source Code

The following is a list of source code written in Borland Inprise Delphi 5.0 - but should work in other versions. (all programs are for MS-Windows 95 or later). In the case of the project the .exe files have also been included.
 

Filename

Size
(KBytes)

Description

<<< Complete Delphi Projects >>>
(all include .exe files and full source code, as 2 separate files)
(listed alphabetically by project name)

 

Chop_n_Join v0.06d - chops large files into smaller files (typically floppy diskette size - but can be any size), and also joins them together (with .hlp file).

chop_n_join_006d_exe.zip

292

The .exe and .hlp files

chop_n_join_006d_src.zip

11

The Delphi source code files only

 

Published on Torry's Delphi Pages Do the Macarena 0.02.Watch this little guy (Mr Ascii) dance the Macarena !!! Fun. Stolen (er... converted to Delphi) from SWAG Pascal archives ( http://www.gdsoft.com/swag/downloads.html )

You will need these 2 components:

TFormResizer 2.0 ... http://www.delphi32.com/vcl/1289/

TThreadedTimer 1.2a ... http://www.delphi32.com/vcl/3086/

macarena_003_exe.zip

174

The .exe file.

macarena_003_src.zip

9

The Delphi source code files only (also includes original SWAG Pascal code).

 

GoMoku the game v0.04 -- played on a 15x15 board, the object of the game is to get 5 pieces in a row before the computer can.

    Here is a detailed article explaining how the program works:
    Here is an article about the program which I will rewrite in the next few weeks (10 Mar 2002):
    Go-Moku Game - My Approach To Writing It In Delphi - by Peter E. Williams 

gomoku_004_exe.zip

244

The .exe file for the game

gomoku_004_src.zip

33

The Delphi source code files only

 

Guess the Animal Game v0.01 beta

animals_exe.zip

168

The .exe and .dat files for the game

animals_src.zip

9

The Delphi source code files only

 

Hunt the Wumpuz - 'Hunt The Wumpuz' (c) 1996-2002 by Peter E. Williams, based in concept only on the game 'Hunt the Wumpus' by Gregory Yob. Note this is Windows clone of Mr Yob's original game. If you enjoy this game then you should thank Mr Yob for inventing his game (many years ago), as I do.

All of the code for this game was written by me (except the component for displaying the .gif map, which is freeware). I wrote it because I enjoyed the original and there was no Windows version. It is a simple game and was fun to write.

This game is Freeware open source (written in Delphi 5), and I think Mr Yob's game was also open source. Mr Yob's game was published in computer magazines and books. I am not making nor attempting to make a single cent from this game.

Note: if you want to re-compile this program then you will need TGifImage 2.2 from http://www.melander.dk/delphi/gifimage/ (TGIFImage Home page).

wumpuz_002a_exe.zip

216

The .exe file for the game (including map & instructions files)

wumpuz_002a_src

23

The Delphi source code files only (including map & instructions files)

 

Published on Torry's Delphi Pages Nuclear the game v0.03a -- is a fun game against the computer. A simple board game ... hard to beat.

nuclear_003a_exe.zip

228

The .exe and .hlp files for the game

nuclear_003a_src.zip

28

The Delphi source code files only

 

Simple Ed v0.03a -- is a simple text-only editor written using tmemo component. Allows multiple editor files to be open, line & col counters on edit file's window caption, tiling & cascading of windows. Recent files opened/saved list implemented via an inifile. Basic but a simple guide to how to do it. Could easily be modified to use trichedit component with addition of toolbar buttons for richtext effects (e.g. underlining, bolding, etc) ... these features were deliberately omitted since this is a text-only editor.

simple_ed_003a_exe.zip

204

The .exe file for the game

simple_ed_003a_src.zip

10

The Delphi source code files only

 

Snake Game v0.01 (??) by "//hIDRA_5" with modifications by PEW

The original snake game for Delphi was by //hIDRA_5, and can be downloaded from http://www.planet-source-code.com (until he updates it with this new version).

I am one of many people who have visited the above site and downloaded the source to the original game. The attached files form the new version of the snake game, as modified, enhanced and debugged by myself. I am sending this new version (0.01) including this file, to //hIDRA_5, in the hope that it will become the "official" next version, replacing the original.

Firstly, I would like to thank "//hIDRA_5" for sharing his source code and cool little game with the rest of the world. I hope that the new version will be accepted as an improvement to it. :-)))

It seem that "//hIDRA_5" after my many attempts to contact him, has decided to ignore my new version, so I am making it available here.

snake_001_exe.zip

308

The .exe file for the game and fonts.

snake_001_src.zip

124

The Delphi source code files and fonts.

 

Tragic Poet -- This is a cute little program which I found on the internet in Commodore 64 BASIC source code and which I have converted to a Delphi program. It's not the greatest example of Delphi since it was originally written in BASIC - note I have debugged it to make it operate correctly. It will generate the required number of lines of random poetry. Original author unknown. Also included is the original C64 BASIC program and a text listing of the BASIC program (as a .bas file), as produced by a Commodore emulator.

tragic_poet_exe.zip

180

The .exe file and the original C64 program and text basic listing.

Tragic_poet_src.zip

6

The Delphi source code files only

 

<<< Delphi Components (with source) >>>

dcolorbtn_003_src.zip

8

DColorButton v0.03 -- A descendant of tbutton with colour background and text. (with sample project)

arraycolorbtn_src.zip

8

ArrayColorButton v0.02 -- A descendant of tbutton with colour background and text, with Row and Col properties.

label3d_src.zip

9

Label3d -- A descendant of tlabel with 3D effects, e.g. Raised, Heavy Raised, Recessed, Heavy Recessed (or none).

richbtn_src.zip

17

Richbutton -- A button with a richedit face.

 

<<< Miscellaneous Components >>>

myinifiles.txt

3

Intructions on how to make the MyIniFiles.pas unit, which is a modified version of Borland's IniFiles.pas

BTOdeum.pas component -- BTBeeper 0.06, a freeware beeper Delphi component

by Theodoros Bebekis, Thessaloniki, Greece, email: bebekis@mail.otenet.gr

available from:
Delphi Super Page (DSP) at http://sunsite.icm.edu.pl/delphi/
and Torry's page at http://www.torry.net/

Easysize.pas (TFormResizer 2.0 component) -- freeware component for Delphi (1..5). "The TFormResizer component resizes all of the components on a form when the form size changes."

available from:
Delphi32.com at http://www.delphi32.com/

TStringAlignGrid -- You will need the tStringAlignGrid component for some of my programs. Below is the contact details. Just go to the website below and download the latest version of tStringAlignGrid and install it.

Contact: Andreas Hörstemeier, email: andy@hoerstemeier.de
available from: http://www.hoerstemeier.com

 

 

FeedBack:
comments.gif
Mailto:pwill@ausi.com
 

main_page


Last Updated: 3-Nov-2002