This is a barebones project that creates pong in assembly
This is probably not a project that you should use for reference. This is only to test my own skill (or lack of) in using x86-64 assembly.
There is likely lots of errors/optimizations/best practices that I have missed, but the project runs fine enough for my standards.
-
Install and build raylib
-
Clone the repository
git clone https://github.com/rfblock/rayasm-pong;
cd rayasm-pong
- Assemble and link
nasm -felf64 main.asm
gcc main-o -no-pie -lraylib -lGl -o main.out
- Run
./a.out