sumit-2020 / Pong

A simple pong game written in C. Writing this to look at the ncurses library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PONG


Remember this? Oc

Installation Instructions

  1. Install ncurses: sudo apt-get install libncurses5-dev libncursesw5-dev
  2. Compile pong.c: gcc pong.c -o pong -lncurses
  3. Run: ./pong

Notes

  1. It currently runs only in 80x24 mode, So size your terminal accordinly

  2. Tapping keys is preferred over holding down keys

  3. Control layout:

Controls Player a Player b
UP 'w' 'o'
DOWN 's' 'l'
QUIT 'q' 'q'

TODO

  • Bare bones
  • Scorekeeping bar
  • Scorekeeping mechanic
  • Terminal size compatibility
  • Install instructions

Future Features

  • Level system

About

A simple pong game written in C. Writing this to look at the ncurses library


Languages

Language:C 100.0%