Coder Social home page Coder Social logo

sv443 / jokeapi_computercraft Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 77 KB

A ComputerCraft program that displays a joke from https://github.com/Sv443/JokeAPI on an in-game monitor

License: MIT License

Lua 100.00%
computercraft entertainment jokes lua minecraft minecraft-mod

jokeapi_computercraft's Introduction

JokeAPI_ComputerCraft

A ComputerCraft program that displays a joke from JokeAPI on an in-game monitor on interval


example image



Installation:

  1. Craft a computer and around 4-12 monitors
  2. Place the monitors next to each other and make sure one of them touches the computer
  3. Run the following commands in the computer:
label set jokeapi
pastebin get 6tnmW93j startup
edit startup.lua
  1. Change the MONITOR_SIDE variable at the top to the side where your computer touches the monitors
    • Valid side values are: "front", "back", "left", "right", "top" or "bottom"
    • The other variables can of course also be changed, like the interval at which a new joke is fetched or the text size
  2. Press Ctrl, navigate to Save and press Enter to save your changes
  3. Press Ctrl, navigate to Exit and press Enter to exit the editor
  4. Run the command reboot

After these steps, the computer will enter an infinite loop. To exit it, hold down Ctrl and T.
To edit the program, go to step 4 again.



License:

This code is licensed under the MIT license

jokeapi_computercraft's People

Contributors

sv443 avatar

Watchers

 avatar  avatar

jokeapi_computercraft's Issues

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.