Coder Social home page Coder Social logo

bluemethyst / turtsocket Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 4 KB

A websocket used to control ComputerCraft turtles

Python 16.05% JavaScript 11.04% Lua 72.91%
cc-tweaked computercraft minecraft minecraft-mod network remote turtle websocket python-lua-js

turtsocket's Introduction

TurtSocket

A proof of concept websocket used to control ComputerCraft turtles

server.js is the JavaScript websocket server because Python for some reason has some issues hosting

client.py is the Python client you use to control and connect to the turtle

startup.lua goes into the turtle and is what is used to connect it all together

You will need to follow this guide if you plan on localhosting it as ComputerCraft does not allow it by default

Commands

You can control what the turtle does with a few preprogrammed commands sent from the client.py.

  • forward, back, up, down: Move the turtle in the desired direction
  • left, right: Turn the turtle in the desired direction
  • mine, mineup, minedown: Mine blocks in the desired direction
  • place, placeup, placedown: Place blocks in the desired direction

The turtle will try to automatically refuel if there is coal or a burnable item in its inventory when it hits 0 fuel

turtsocket's People

Contributors

bluemethyst avatar

Watchers

 avatar

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.