Giter Club home page Giter Club logo

chessington-ruby's Introduction

Chessington

Starter project for a chess based TDD exercise in Ruby

Installation

Execute

$ bundle install

Running the tests

To run the tests, use $ bundle exec rake test, which will run all the tests in the files located in the test directory. Alternatively, you can run each test/group of tests individually in RubyMine by clicking the green arrow to the left of the test function/class

GUI

Windows

Make sure to have installed Ruby through the following instructions:

Install Ruby+Devkit from RubyInstaller. When prompted to run ridk install at the end, go ahead with it, and then make sure to run all 3 commands in order:

  1. MSYS2 base installation
  2. MSYS2 system update
  3. MSYS2 and MINGW development toolchain

Make sure this Ruby version is set in the RubyMine settings

Alternatively, you may be able to run the GUI through WSL if you are on Windows 11 or if you set up a standalone X server and forward it through, though this is somewhat tricky.

Mac

On the Mac, make sure to:

  • Have Homebrew installed
  • Run this Homebrew command to have GTK display GUI icons: brew install adwaita-icon-theme
  • (Optional) You can upgrade your GTK3/GTK4/GTK+ by running: brew install gtk+3 / brew install gtk+4 / brew install gtk+

Linux

Should work out of the box on Linux, but if not, make sure you have GTK3 installed (libgtk3-dev on Debian based distributions)

License

The gem is available as open source under the terms of the MIT License.

chessington-ruby's People

Contributors

kiran-r-k avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.