Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Are there any how-to documentation or examples? #3

Open
raquelhortab opened this issue Jun 15, 2020 · 1 comment
Open

Are there any how-to documentation or examples? #3

raquelhortab opened this issue Jun 15, 2020 · 1 comment

Comments

@raquelhortab
Copy link

Hi! I was wondering if there's any example or documentation on how to use this gem.

@raquelhortab raquelhortab changed the title Is there any how-to documentation or examples? Are there any how-to documentation or examples? Jun 15, 2020
@jphager2
Copy link
Owner

Hi! Yeah you can take a look at the https://github.com/jphager2/ruby-go/blob/master/bin/ruby-go.rb file.

The library has methods for printing to a terminal, but you can adapt it to other forms of output.

It isn't really clean, but here's an example https://github.com/jphager2/pakyow-go/blob/master/app/lib/models/persisted_game.rb.

This repository deserves some love. I will have to update it a bit :p

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants