SkillAgentSearch skills...

Pong

Classic Pong written in Ruby with Ruby 2D.

Install / Use

/learn @tiagopog/Pong
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<a href="https://codeclimate.com/github/tiagopog/pong/maintainability"><img src="https://api.codeclimate.com/v1/badges/7b4c8b7c9b25d2be229c/maintainability" /></a>

About

Classic pong game written in Ruby with the awesome ruby2d framework.

ruby_pong

Note: the low frame rate here is due to the GIF recording not the game itself.

Install

Make sure you have installed:

brew tap simple2d/tap
brew install simple2d
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

Related Skills

View on GitHub
GitHub Stars13
CategoryDevelopment
Updated1y ago
Forks4

Languages

Ruby

Security Score

65/100

Audited on Sep 30, 2024

No findings