Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kurehajime/pong-command
pong is not ping. pong is CLI game.
https://github.com/kurehajime/pong-command
cli-game console-application console-game game go golang joke linux mac-osx pong pong-command windows
Last synced: 1 day ago
JSON representation
pong is not ping. pong is CLI game.
- Host: GitHub
- URL: https://github.com/kurehajime/pong-command
- Owner: kurehajime
- License: mit
- Created: 2015-04-21T12:15:35.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-05-21T13:13:31.000Z (over 1 year ago)
- Last Synced: 2024-11-07T19:50:59.530Z (9 days ago)
- Topics: cli-game, console-application, console-game, game, go, golang, joke, linux, mac-osx, pong, pong-command, windows
- Language: Go
- Homepage:
- Size: 4.99 MB
- Stars: 175
- Watchers: 2
- Forks: 13
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-dev-fun - Pong-command - Pong is Not Ping. (CLI)
README
# pong-command
![pong](https://cloud.githubusercontent.com/assets/4569916/7273449/e6c410be-e92e-11e4-89dd-ba6903089706.gif)
Pong-command is a CLI game.
**PO**ng is **N**ot pin**G**.
## How to use.
### 1. Download Win/Mac OSX/Linux binary
[Download here. Windows,MacOSX,Linux,BSD binary](https://github.com/kurehajime/pong-command/releases)
### 2. Move file or Add directory to PATH
***Mac OSX / Linux :***
Copy a file into /usr/local/bin
```
cp ./pong /usr/local/bin/pong
```***Windows :***
[Add directory to PATH Environment Variable](http://www.nextofwindows.com/how-to-addedit-environment-variables-in-windows-7/)
### 3. pong
Run command.
```sh
$ ./pong [IP ADDRESS] [TARGET]
```
Target is the score to stop the game at. If not provided, the game runs forever.Start game.
```
006 - 000
--------------------------------------------------------------------------------1
9 ||
2 ||
|| . ||
|| 1 ||
|| 6
|| 8
.
1
.
1--------------------------------------------------------------------------------
EXIT : ESC KEY```
## ... or install by 'go install'
```sh
go install github.com/kurehajime/pong-command/pong@latest
```
## LICENSE
This software is released under the MIT License, see LICENSE.txt.