I don't post too much in this forum, but I thought this was pretty cool. Google has released a new programming language (based on App Inventor and Scratch) called Blockly, which allows you to make scripts with Scratch-like blocks, which can be exported as Javascript, Dart, Python, or eventually any other programming language.
Try out the maze demo here, and try out a demo with more general blocks here. What are your first impressions? Would you use it to do programming in the future if it becomes more popular? What other languages should it export to? I'm curious what you guys think about this.
Last edited by Lucario621 (2012-06-15 21:50:27)
Offline
Looks EXTREMELY similar to Scratch in way of what commands there are, I'll have to try it out some time.
You also say it can export to any other language than asks what others it should?
Offline
soupoftomato wrote:
Looks EXTREMELY similar to Scratch in way of what commands there are, I'll have to try it out some time.
You also say it can export to any other language than asks what others it should?
My mistake - at least it will be able to export into most other languages in the future.
Offline
coolhogs wrote:
Erm... Not exactly easy.
What isn't?
Offline
coolhogs wrote:
To learn. Blockly.
Hmm... well there's a lot of similar blocks. But I see what you mean - there's a lot of different ones, and some of the syntax is different. (Where are the hat blocks anyway? ) But I think after a while you'll find that it's fairly similar to Scratch.
Offline
coolhogs wrote:
To learn. Blockly.
It's probably the easiest thing you'll be able to find that can export to other major languages.
Offline
This seems pretty good
Offline
Finished the maze with an AI script :3
Last edited by jji7skyline (2012-06-15 23:50:08)
Offline
Seems pretty basic.
Offline
jji7skyline wrote:
Finished the maze with an AI script :3
http://img189.imageshack.us/img189/97/57483751.th.png
I did a really simple A.I. for it.
It just moved forward as long as possible, turned right until it could move again at walls and turned right after every walk forward and checked if it could walk to prevent an infinite loop.
Offline
Mine alternates between right checking, then left checking for a wall, and turns at every opportunity, then moves forward to prevent infinite loops.
Offline
trinary wrote:
It's very similar to Scratch.
Definitely.
Offline
Offline
It sounds cool, I'll download it later.
Offline
I'm going to assume that you are not working for Google and helped to make this, so doesn't it belong in TIRAP?
Laternenpfahl wrote:
What about intersections?
Offline
Hmm... I see some posts by jji7skyline and Laternenpfahl including some solutions to the Maze demo, however there is a much easier way:
Offline