An open API service indexing awesome lists of open source software.

https://github.com/bezlant/s21_pong

🏓 Ping Pong with a simple TUI (School 42)
https://github.com/bezlant/s21_pong

c ncurses ping-pong school-project tui

Last synced: 3 months ago
JSON representation

🏓 Ping Pong with a simple TUI (School 42)

Awesome Lists containing this project

README

          

# Ping Pong

![Ping Pong preview](assets/preview.gif)

* [Introduction](#introduction)
* [Goals](#goals)
* [Build](#build)
* [How to Play](#how-to-play)

### Introduction

A simple two-player ping-pong in the terminal using [ncurses](https://en.wikipedia.org/wiki/Ncurses)

### Goals
- Learn basic control structures in C
- Get better at using [ncurses](https://tldp.org/HOWTO/NCURSES-Programming-HOWTO/)

### Build

```
$ git clone https://github.com/bezlant/s21_pong
$ cd s21_pong/src
$ make
```

### How to Play
* `A` & `Z` for the *Left Player*
* `K` & `M` for the *Right Player*
* To quit press `Q`