/pong-pascal

Primary LanguagePascalDo What The F*ck You Want To Public LicenseWTFPL

Pong

Latest Stable Version Demo:GameJolt License Libary:Raylib

gameplay

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

make RAYLIB_LIBTYPE=STATIC

or execute only

make

to use dynamic library

Execute Game

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