MIT License

项目介绍

robotopia-x/robotopia 是一个托管在 GitHub 上的开源项目,主要使用 JavaScript 编写,采用 MIT License 许可证,目前获得 525 个 Star、55 次 Fork。

仓库全名
robotopia-x/robotopia
开源许可证
MIT License
Star 数
525
Fork 数
55
未关闭 Issue
16

README 摘要

:robot: Robotopia Robotopia is a browser based programming environment for kids and young adults. The goal is to introduce kids to basic programming concepts with cute little robots. Read the Article! Now, play it! In Action Features [x] Graphical programming environment [x] Blockly code editor [x] Game preview [x] Tutorials to introduce programming basics [x] Commands [x] Conditions [x] Loops [x] Events [x] Basic…

完整内容见 GitHub 原始 README 或本页 。

常见问题

robotopia 用什么语言开发?

主要使用 JavaScript 编写,采用 MIT License 许可证,目前有 525 个 Star。

robotopia 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 robotopia 的源码?

可以直接克隆仓库:git clone https://github.com/robotopia-x/robotopia.git,默认分支为 master;安装与运行步骤见仓库 README。

robotopia 最近还在维护吗?

仓库最近一次更新为 2020年9月2日,当前有 16 个未关闭 Issue;Star 数为 525,可作为社区活跃度的参考。

关于

:robot: Introducing kids to coding with tiny virtual robots!

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
638
价值分
331
活跃状态
归档

语言占比

CSS
HTML
JavaScript
Shell

README

:robot: Robotopia

built with choo v4 GitHub license

Robotopia is a browser based programming environment for kids and young adults. The goal is to introduce kids to basic programming concepts with cute little robots.

Robotopia Editor

Read the Article!

Now, play it!

In Action

in action

Features

  • Graphical programming environment
    • Blockly code editor
    • Game preview
  • Tutorials to introduce programming basics
    • Commands
    • Conditions
    • Loops
    • Events
    • Basic arithmetic logic
  • Competitive mode
    • Client editor to create bots
    • Presenter to present robot competition on a central monitor
    • p2p connection between clients and presenter
    • 1v1 mode
  • Programmable robots
    • Movement
    • Pathfinding
    • Collecting Resources
    • Place markers
    • React to events
  • Robot script runtime
    • Scriptable with JavaScript
    • Roundbased execution of robot scripts
    • Events

How you could use this

Here is a short guide to get you started if you’re interested in using our tool to organize your own coding events.

What you’ll need

  • Around 1,5h of time
  • A Computer with a current browser for each kid
  • A projector or big screen to display the competition
  • Tutors who can help the kids if they have questions,

Note: We had the impression, that 1 supervisor can handle ~5 kids.

Agenda

1. Tutorials

Open https://robotopia-x.github.io on each computer. The kids should start with the tutorials to learn the basics of programming. Meanwhile, the tutors can help them if they struggle with a level or have general questions. After most kids have completed the tutorials you can begin with the competition.

Open http://robotopia-x.github.io/#presenter on the computer connected to the projector and pick a room name (the kids have to enter the same room name when opening the editor)

2. Program your robots

At this point, the supervisors will, together with their assigned kids, build a competitive program.
They’ll show them the basic idea behind the program and make them ready to program their own robot swarm. Upload the current code by pressing the “Upload” button on the top right corner.

Note: You’ll run the first competitive game with 2 of the build programs

3. Let the robots compete

You now have to get back to the presenter on the projector. Press the “Run” button and select two players that already committed their program.
You can now press the “Start” button to start the competition.

Note: The idea on this point is, that all people in the room now look at the game running on the projector.

4. Improving the programs

When the first few competitions are finished, the kids get time to improve their programs with things they noticed while battling.
Also, the kids who couldn’t build their own program by now get the time and opportunity to commit their own program and compete with the others.

Note: This part of the event can be extended as long as the kids are interested.

Installation

If you want to install Robotopia on your local environment follow these instructions.

Precondition

Project Setup

First install budo globally first:

npm install -g budo

Then clone the project from github and install:

git clone https://github.com/robotopia-x/robotopia.git
cd robotopia
npm install

In the directory of robotopia call

npm start

A local web server will be started at http://localhost:9966/.

Configuration

In the file index.js there is configured the SignalingHub server for communication in presenter mode:

  • ‘hubUrl: [serverURL]’: Add there your prefered server url

评论

暂无评论