https://github.com/maxtek6/rpi-pong-client
Raspberry Pi pong client for cloud-based pong game
https://github.com/maxtek6/rpi-pong-client
Last synced: 3 months ago
JSON representation
Raspberry Pi pong client for cloud-based pong game
- Host: GitHub
- URL: https://github.com/maxtek6/rpi-pong-client
- Owner: maxtek6
- Created: 2024-11-27T06:18:56.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-04-13T23:28:38.000Z (about 1 year ago)
- Last Synced: 2025-07-31T23:41:59.978Z (10 months ago)
- Language: C++
- Size: 16.6 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rpi-pong-client
Raspberry Pi pong client for cloud-based pong game. Requires a working Raspberry Pi Pong Server to work.
At a high-level, client will handle joystick events from player and then serialize the game input and send over to the server.
Server will update game state according to the user input.
---
## Prerequisites
Make sure you have the following installed:
cmake
g++
## Prequisite: See readme from parent repo rpi-cloud-pong
Complete all steps in prerequisite section in README of root project
https://github.com/maxtek6/rpi-cloud-pong.git
## Building Server
```bash
cd
cd rpi-pong-client
mkdir build
cd build
cmake ..
make -j
```
## Running Programs (recommended to be ran in the following order)
## 1. Run Client
```bash
cd
cd rpi-pong-server
./build/rpi-pong-server
```
## 2. Run Server
## NOTE: A connected joystick to the machine running client is required!!
```bash
cd
cd rpi-pong-client
./build/rpi-pong-client
```