PingPongFasm is a basic yet fully functional ping pong game developed in FASM2 using assembly language. This project showcases how to build a simple game with minimalistic code and efficient design while leveraging raylib for graphics and input handling.
PingPongFasm is a classic ping pong game implemented in assembly language with FASM2. It demonstrates the possibilities of low-level programming while providing a hands-on example of integrating a graphics library (raylib) into your assembly projects. The project is ideal for enthusiasts who wish to explore game development in assembly, understand hardware-level control, or simply enjoy a retro gaming experience.
Before building and running PingPongFasm, ensure you have the following installed:
- FASM2 (Flat Assembler): Download FASM2
- raylib 5.5: The project includes the required raylib files in the
raylib-5.5directory. - Make: For Unix-based systems, or an equivalent build system on Windows.
Note: Depending on your platform, you might need to adjust the Makefile or build scripts accordingly.
-
Clone the Repository:
git clone https://github.com/Atduyar/PingPongFasm.git cd PingPongFasm -
Build the Project:
On Unix-based systems, simply run:
make
This command will compile the assembly source (
main.asm) and link the raylib dependencies accordingly. -
Running the Game:
After successful compilation, run the generated executable:
./PingPongFasm
For Windows users, adjust the build commands based on your environment or use a suitable IDE that supports FASM.
- Game Controls:
- Use the keyboard to control the paddles.
- N/A
This project is licensed under the MIT License. See the LICENSE file for details.
- FASM2: The Flat Assembler is an incredible tool that allows low-level programming with ease. Learn more about FASM2.
- raylib: Thanks to the raylib community for providing a simple and easy-to-use graphics library that made this project possible. Visit raylib.