Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works
Anything · Lazarus or Delphi
Random projectRandom project

pong-pascal

View on GitHub

Member rating

No ratings yet.

Sign in to rate this project.

README

Pong

#

Move Pause Reset
↑ ↓ P R

How to Build

Install Free Pascal Compiler

Download the FPC according to your architecture and operating system https://www.freepascal.org/download.html or execute the command corresponding to your distro

  • MacOS X brew install fpc
  • Linux CentOS yum install fpc
  • Linux Debian/Ubuntu/Mint apt install fpc

Download Raylib Build

just download the latest version according to your operating system https://github.com/raysan5/raylib/releases

Prepare Project

create a folder path as ./bin then make a symbolic link or copy the raylib libary shared(*.so,*.dylib, *.dll) or static(*.a) for this folder

Compile

execute to build game static

bash
make RAYLIB_LIBTYPE=STATIC

or execute only

bash
make

to use dynamic library

Execute Game

execute command ./bin/game or simply double click on game in the ./bin folder.