CONTURTLE is a CC-TWEAKED turtle controller that includes a WebSocket server and a turtle script, designed for seamless integration and easy usage.
Before using Conturtle, ensure you have Node.js and npm installed.
To install the required package for the WebSocket server, you can choose one of the following methods:
-
Using npm:
npm install ws
-
Using the included Python script:
python installdependencies.py
To deploy the WebSocket server, you can use one of the following methods:
-
Using Node.js:
node ./server/index.js
-
Using the included Python script:
python startserver.py
The web client is accessible by simply opening the index.html
file in your web browser. Just navigate to the file location and double-click it to open.
To install the Turtle program, run the following command in your terminal:
wget https://raw.githubusercontent.com/PotatoGamo/Conturtle/main/conturtle.lua
Note: It is recommended to rename the downloaded script to startup.lua
so that the turtle connects on startup:
rename conturtle.lua startup.lua
Once everything is set up:
- Start the WebSocket server.
- Open the web client in your browser.
- Ensure the Turtle program is running to start controlling your turtle.
For further assistance or contributions, feel free to open an issue or submit a pull request on the repository!