Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/seanchas116/mruby-turtle
- Owner: seanchas116
- Created: 2014-01-19T15:02:10.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-01-20T06:55:30.000Z (almost 11 years ago)
- Last Synced: 2024-04-14T03:13:58.625Z (7 months ago)
- Language: C++
- Homepage:
- Size: 168 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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