Skip to content

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

License

Notifications You must be signed in to change notification settings

Sv443/JokeAPI_ComputerCraft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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