GithubHelp home page GithubHelp logo

minetesting's Introduction

minetesting

This project consists of a Python client for talking with a Minetest server, and a Minetest Mod that creates a chat-controlled robot. Those two parts are independent, but play well with each other.

The Python client (client.py) speaks the Minetest protocol and logs in as a regular user. It's not feature complete, but the basics are stable and it's easy to implement the missing commands. You can use it as a library and import MinetestClient, or run as python3 client.py *hostname* *username* *password*, where each message typed in the console is sent as a chat message to the server.

The Minetest mod (bot/) allows users to create and controls robots by speaking commands in the chat. These robots can move through the map, placing and removing blocks. To install it just copy the entire bot/ folder to .minetest/mods and activate in the world configuration.

Because the robots answer to regular chat commands, the Python client is able to login and say commands to the robot, giving a remote interface to control it.

controller.py is used as the glue between Scratch and the Minetest bot, creating an HTTP server and forwarding commands.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.