o
odinpkg.dev
packages / app / odin-pong

odin-pong

fa1bfacapp

A simple odin based pong game

No license · updated 3 weeks ago

Odin Pong

A simple single-player Pong clone built with Odin and Raylib.

Features

  • Smooth paddle and ball physics
  • Dynamic difficulty scaling
  • Score and lives tracking
  • Speed level progression
  • Clean, modular Odin codebase

Controls

Key Action
← / → Move Paddle
Space Launch Ball
R Restart (Game Over)

Gameplay

Keep the ball in play using your paddle.

  • Start with 5 lives
  • Gain points for every successful save
  • Ball speed increases every 5 saves
  • Game ends when all lives are lost

Getting Started

Prerequisites

  • Odin Compiler
  • Raylib (included through Odin's vendor packages)

Run

odin run .

Build

odin build . -o:speed

Project Structure

.
├── main.odin
└── README.md

Technical Highlights

  • Centralized Game_State architecture
  • Separation of update and rendering logic
  • Vector-based movement and collision handling
  • No global mutable state

Screenshot

Add a gameplay screenshot here:

Gameplay

Future Improvements

  • High score system
  • Sound effects and music
  • Pause menu
  • Power-ups
  • AI opponent mode