8000 GitHub - jmole/turtlebots
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jmole/turtlebots

Repository files navigation

turtlebots

Turtlebots are programmable bots that can be used to build and dig in Luanti (formerly known as minetest)

Video Overview

This video provides a quick overview of turtlebots:

Turtlebots on Youtube

Getting Started

If you want to play turtlebots without the distractions of other luanti/minetest mods – a common request for classroom use, there is a standalone game for Luanti that you can download and install here: Turtlebots Classroom

Installing Luanti (formerly known as minetest)

Windows/macOS/Linux/Android users can all find detailed instructions for either installing or compiling Luanti from the official website.

Installing turtlebots in Luanti
  1. Open Luanti
  2. Click on the "Content" tab.
  3. Click "Browse Online Content"
  4. Search for "turtlebots"
  5. Click the turtlebots mod or game in the search results
  6. Click "Install"
Installing turtlebots from source

You can install the mod manually by downloading or cloning the repository into your Luanti/minetest mods folder.

On windows, this is typically %appdata%\.minetest\mods. On Linux, this is typically ~/.minetest/mods. On macOS, this is typically ~/Library/Application Support/minetest/mods. Note that these folders won't exist until you have run Luanti at least once.

cd ~/Library/Application\ Support/minetest/mods
git clone https://github.com/jmole/turtlebots.git

How to Play Turtlebots

  • The turtlebots mod adds a new block called turtlebots:off to the game. You can find it in your creative inventory.
  • If you are using the turtlebots-classroom game, it will automatically be in your hand when you start the game.
  • You can place a turtlebot on the ground by right clicking a node when you're holding it.
  • After it's been placed, right clicking the turtlebot will open the turtlebot code window GUI.

How to Program a Turtlebot

The turtlebot code window GUI has:

  • a command palette on the left side
  • a code block editor on the right.

To add commands to a program:

  1. click on the name of the program you want to modify
  2. click on the commands in the command palette.

Each row in the code block editor is a separate program. When START is pressed, the turtlebot will execute the program in the first row (the start program).

Simple Turtlebots Program

Expand to see what this program does
  1. Call program A, moving the turtlebot forward 3 steps (1 +2)
  2. Turn right 90 degrees.
  3. Call program A, moving the turtlebot forward 3 steps (1 +2)
  4. Turn right 90 degrees.
  5. Call program A, moving the turtlebot forward 3 steps (1 +2)
  6. Turn right 90 degrees.
  7. Call program A, moving the turtlebot forward 3 steps (1 +2)
  8. Turn right 90 degrees.

More Sample Programs

American Flag

Valentine's Heart

Rainbow Tunnel

Rainbow Elevator

Candy Cane

Traffic Light

Modern Tower

Smile Flower

Down the Stairs

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

0