SSHPong is a multiplayer Pong game designed for a command-line interface, allowing players to connect and play through SSH. The project includes a central server to manage game state and clients that communicate with it for real-time gameplay.
- Multiplayer Pong over SSH
- Central server for game state synchronization
- Real-time updates between clients
- Go (for compiling and running the server and client code)
- SSH access (for multiplayer interaction)
-
Clone the Repository
git clone https://github.com/yourusername/sshpong.git cd sshpong
-
Build the Server and Client
go build -o server ./cmd/server/main.go go build -o client /cmd/client/main.go
-
Start the Server
./server
-
Connect as a Player
Run the client program to join the game:
./client
- Use the W and S keys to move your paddle up and down.
- Press
q
to quit the game.
Contributions are welcome! Please submit a pull request or open an issue to discuss improvements.
This project is licensed under the MIT License.