Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/m0rningdawning/online-pong
2D online Pong clone created in Java that features a fully functional local (on the same machine) mode as well as LAN multiplayer.
https://github.com/m0rningdawning/online-pong
game java lan multiplayer online pong-game
Last synced: about 1 month ago
JSON representation
2D online Pong clone created in Java that features a fully functional local (on the same machine) mode as well as LAN multiplayer.
- Host: GitHub
- URL: https://github.com/m0rningdawning/online-pong
- Owner: m0rningdawning
- License: mit
- Created: 2023-03-10T10:12:27.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-17T11:43:50.000Z (about 1 year ago)
- Last Synced: 2023-11-17T12:38:04.529Z (about 1 year ago)
- Topics: game, java, lan, multiplayer, online, pong-game
- Language: Java
- Homepage:
- Size: 1.13 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# online-pong
2D online Pong clone created in Java that features a fully functional local (on the same machine) mode as well as LAN multiplayer.![GitHub language count](https://img.shields.io/github/languages/count/m0rningdawning/online-pong)
![GitHub top language](https://img.shields.io/github/languages/top/m0rningdawning/online-pong)
![GitHub last commit](https://img.shields.io/github/last-commit/m0rningdawning/online-pong)
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)## Setup
1. Open `sdk` folder and run `InstallSDK.bat`.
2. Wait until the installation is finished.
3. Start `online-pong.jar`.
## How to play
### Local
1. Press `PLAY`.
- P1: `W` - Up, `S` - Down.
- P2: `ArrowUP` - Up, `ArrowDown` - Down.
2. Press `Space` when ready to start playing.
### LAN
- Press `PLAY ONLINE`.
#### Host
1. `Do you want to run a server?` select `Yes`.
2. `Do you want to run a public server?` select `No`.
3. Enter a port in a safe range. E.G. 50000.
4. Share the IP and the port number with Client and wait for him to connect.
5. Press `Space` when ready to play.
#### Client
1. `Do you want to run a server?` select `No`.
2. Enter the port and the IP of the server.
3. Press `Space` when ready to play.
## Statistics
- Offline statistics can be viewed in the `stats` folder in `offlineStats.json`.
- Online statistics can be viewed in the `stats` folder in `onlineStats.json`.
## Preview
![image](https://github.com/m0rningdawning/online-pong/assets/102054245/367cfc27-9518-45b1-8a28-9bba59e0e44c)
![image](https://github.com/m0rningdawning/online-pong/assets/102054245/ccc80aa2-3a60-4083-9c9b-2deea15042bd)
![image](https://github.com/m0rningdawning/online-pong/assets/102054245/dbb04583-5659-4d36-917a-92a2c05c1073)## Credits
App Icon:
- https://www.flaticon.com/free-icon/ping-pong_1687539?term=ping+pong&page=1&position=50&origin=tag&related_id=1687539Background:
- https://opengameart.org/content/space-star-backgroundFonts:
- https://fonts.google.com/specimen/Monoton
- https://www.1001fonts.com/hello-denver-display-font.htmlBall and Platforms:
- https://opengameart.org/content/pong-graphicsSFX:
- https://free-loops.com/7033-ping-pong-.html
- https://www.youtube.com/watch?v=3sGatRdAeJ0&list=PPSV
- https://orangefreesounds.com/game-over-ident/