Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/seanchas116/mruby-turtle

Command the turtle in mruby
https://github.com/seanchas116/mruby-turtle

Last synced: 4 days ago
JSON representation

Command the turtle in mruby

Awesome Lists containing this project

README

        

mruby-turtle
================

What is mruby-turtle?
----------------

Command the turtle in mruby

Maps are saved in JSON format

![Screenshot](https://github.com/iofg2100/mruby-turtle/raw/master/screenshot.png)

```ruby
if turtle.feel(turtle.lastDir) == ''
turtle.move(turtle.lastDir)
elsif turtle.feel(turtle.lastDir + 1) == ''
turtle.move(turtle.lastDir + 1)
else
4.times do |i|
if turtle.feel(i) == ''
turtle.move(i)
break
end
end
end
```

Powered by
----------------

* Qt Quick
* mruby
* [Garnet](https://github.com/h2so5/Garnet), mruby bindings for Qt objects