Skip to content

Mario-SO/zig-pong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

13 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“ Zig Pong

A modern take on the classic Pong game, built with Zig and Raylib!

โœจ Features

  • ๐ŸŽฎ Smooth player controls (W/S or Up/Down arrows)
  • ๐Ÿค– Smart AI opponent that tracks the ball
  • ๐ŸŒŸ Beautiful glow shader effects
  • ๐Ÿ“ˆ Progressive difficulty - ball and paddles speed up as you play
  • ๐ŸŽฏ Score tracking system
  • ๐ŸŽจ Clean minimalist visuals with retro feel

๐ŸŽฏ Controls

  • W or โ†‘ - Move paddle up
  • S or โ†“ - Move paddle down

๐Ÿ› ๏ธ Building

Make sure you have Zig and Raylib installed, then:

zig build run

๐ŸŽฅ Game Preview

  • Glowing particles and effects
  • Center line divider
  • Real-time score display
  • Smooth ball physics
  • Dynamic paddle movement
CleanShot.2025-01-27.at.10.00.45.mp4

๐Ÿ”ง Technical Details

  • Built with Zig programming language
  • Uses Raylib for graphics
  • Custom GLSL shader for glow effects
  • 60 FPS smooth gameplay

About

Pong game implemented in Zig

Topics

Resources

Stars

Watchers

Forks

Languages