Skip to content
This repository was archived by the owner on Oct 9, 2025. It is now read-only.

VitalijBukatkin/pong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Pong Game

Uses

  • C-11
  • SDL2

Require

  • cc
  • meson
  • libsdl2-dev
  • libsdl2-ttf-dev
  • libsdl2-image-dev
  • libsdl2-mixer-dev
  • flatpak-builder (for build flatpak)

Controls

  • LEFT - W, S / LEFT STICK
  • RIGHT - UP, DOWN / RIGHT STICK

Building on Windows

  1. Install MSVC build tools
  2. Install meson
  3. Run .\build-aux\windows_bundler.ps1

Building on Linux

  1. Execute sudo apt install meson libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev libsdl2-mixer-dev
  2. Clone this repository and go to folder
  3. Execute meson builddir
  4. Build project, execute ninja -C builddir
  5. Run cd builddir && ./pong

Building Flatpak package

  1. Build and install: cd build-aux && flatpak-builder --install build-dir com.github.witalijbukatkin.Pong.yml
  2. Run: flatpak run com.github.witalijbukatkin.Pong

About

Simple pong game

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published