
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
A chess library written in ruby. It provides all a representation of a chess game with all rules and serialization. It also provides a command line interface for playing the game
Add this line to your application's Gemfile:
gem 'just_chess'
And then run:
$ bundle
Or install it yourself as:
$ gem install rb_chess
The code below plays a random game of chess:
require 'rb_chess'
game = RbChess::Game.new
until game.game_over?
puts game.board.ascii
game.make_move(game.all_moves.sample)
end
puts game.board.to_fen
You can find the full example of using this library in the RbChess::CLI class in lib/rb_chess/cli/cli.rb.
rb_chess
.e2e4
.0-0
for kingside and 0-0-0
for queenside.a7a8Q
.save
or s
.exit
.Distributed under the MIT License. See LICENSE for more information.
FAQs
Unknown package
We found that rb_chess demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.
Research
/Security News
A malicious Go module posing as an SSH brute forcer exfiltrates stolen credentials to a Telegram bot controlled by a Russian-speaking threat actor.