https://github.com/tiagopog/pong
Classic Pong written in Ruby with Ruby 2D.
https://github.com/tiagopog/pong
2d game game-development pong ruby ruby2d
Last synced: about 1 month ago
JSON representation
Classic Pong written in Ruby with Ruby 2D.
- Host: GitHub
- URL: https://github.com/tiagopog/pong
- Owner: tiagopog
- Created: 2018-11-11T05:20:43.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-06T20:55:54.000Z (almost 3 years ago)
- Last Synced: 2025-03-27T06:22:12.553Z (7 months ago)
- Topics: 2d, game, game-development, pong, ruby, ruby2d
- Language: Ruby
- Homepage:
- Size: 36.1 KB
- Stars: 13
- Watchers: 0
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# About
Classic pong game written in Ruby with the awesome [ruby2d](http://www.ruby2d.com/) framework.

> Note: the low frame rate here is due to the GIF recording not the game itself.
# Install
Make sure you have installed:
* [simple2d](https://github.com/simple2d/simple2d):
```
brew tap simple2d/tap
brew install simple2d
```* [ruby2d](https://github.com/ruby2d/ruby2d):
```
gem install ruby2d
```Then clone the source code to your local:
```
git clone https://github.com/tiagopog/pong.git
```# Play
```
cd pong
ruby pong.rb
```Paddle control:
* Left:
* w: up
* s: down
* Right:
* o: up
* k: down