Sha256: 68c38e85f760f0aa5872c8f5f7406b327068081f97d71451aa2468ca099926de
Contents?: true
Size: 1.8 KB
Versions: 1
Compression:
Stored size: 1.8 KB
Contents
# Rubykon [![Build Status](https://secure.travis-ci.org/PragTob/rubykon.png?branch=master)](https://travis-ci.org/PragTob/rubykon)[![Code Climate](https://codeclimate.com/github/PragTob/Rubykon.png)](https://codeclimate.com/github/PragTob/Rubykon)[![Test Coverage](https://codeclimate.com/github/PragTob/Rubykon/badges/coverage.svg)](https://codeclimate.com/github/PragTob/Rubykon/coverage) A Go-Engine being built in Ruby. ### Status? A naive very slow implementation of random playouts. Next up making it faster... or implementing the mcts bits. We'll see. Don't use and judge yet, some pretty inefficient stuff in here :D ### Why would you build a Go-Bot in Ruby? Cause it's fun. ### Running truffle Go ahead and [install from source](https://github.com/jruby/jruby/wiki/Truffle#from-source). Then you have to specify the graal VM when you execute something like this: JAVACMD=~/dev/graalvm-jdk1.8.0/bin/java ../jruby/bin/jruby -X+T -e 'puts Truffle.graal?' If this (adjusted to your paths) prints `true` then the setup is good so far. Next up, install the jruby+truffle tool. Go into the jruby directory you checked out and make sure you use the same ruby version/gemset you want to use (this installs a gem). Then do: tool/jt.rb install-tool With this installed you can then setup graal in your repository (i.e. rubykon), this install gems etc.: jruby+truffle setup This should now still print true: jruby+truffle --graal-path ../graalvm-jdk1.8.0/bin/java run --graal -- -e 'p Truffle.graal?' You can then use it like this to run benchmarks et. al.: jruby+truffle --graal-path ../graalvm-jdk1.8.0/bin/java run --graal -J-Xmx1500m benchmark/mcts.rb The `-J-Xmx1500m` is important as truffle needs more heap space. You can also run the specs via `jruby+truffle run -S rspec spec/`
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rubykon-0.3.0 | README.md |