This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
dan200's profile picture

Wanted: The Best Community Made Programs To Include In Computercraft. Seeking Submissions!

Started by dan200, 24 July 2013 - 05:23 AM
dan200 #1
Posted 24 July 2013 - 07:23 AM
Hello!

ComputerCraft 1.56 (currently in public beta, see the Beta Testing forum) will be adding a new feature: Treasure Disks. Treasure Disks are special Floppy Disks that can only be found in dungeon chests, which will contain programs created by the community, and we're looking for submissions!

The rules:
  • Programs must be fun, interesting or useful, and require as little setup as possible to use. The idea is that when a user finds one of these disks, they should be able to try it out easilly, and have a good time without getting confused. The easier to use, the better!
  • If a program requires a turtle, or an Advanced Computer, it should fail with a clean error message if someone uses it on the wrong type of system.
  • Programs must not use the HTTP API.
How to submit a program:
  • Create a resource pack that contains your program as a treasure disk. Incorrectly setup resource packs won't be looked at; so copy the treasure resource pack example in the pinned resource pack thread, and download the CC 1.56 beta and test that your program actually spawns in dungeons. To find treasure disks more easilly, edit the treasure disk drop rate in ComputerCraft.cfg, and/or use GopherATL's excellent "Infinite Loot Chest" posted below!
  • When you've done that, host the file somewhere, and post the link in this thread, along with a link to the thread for your program. The thread must include a good description of the program, and screenshots or a video of its usage.
By posting in this thread, you consent that your program may be included in future versions of ComputerCraft. All posts in this thread that aren't program submissions will be deleted.
jesusthekiller #2
Posted 24 July 2013 - 08:40 AM
Treasure disk: here

Program: Maze 3D + Maze 2D

About: Maze 3D is (3D) maze game. You can specify maze size (from 5x5 to 99x99) - all mazes are randomly generated :)/>.
It uses gopher's 3D-wolf engine (with gopher's permission) and maze generation from my Nano Maze.

Maze 2D is just like Maze 3D but in 2D, It also has non-advanced computer support.

Screens:
Spoiler











Maze 2D:












This will be included in 1.56!
Edited by
GopherAtl #3
Posted 24 July 2013 - 02:24 PM
twothree programs in this pack. I tested a /rom/programs resource pack version, and all programs worked, also tested both during dev running from a floopy disk, so obviously that works. Did not find it in an actual dungeon yet; will poke around a bit and try to find one, tho I'm hoping you've got the chances of them appearing set high for this beta :)/> Found one of the three in a loot chest. They aren't common in this pr. See edit notes at end…

programs:

talk - a simple chat program. Allows chatting with other computers in range. No servers, administration, or even network awareness; just sends to anyone in range listening to the frequency, and shows what it hears back. Does support changing channels and frequencies, to allow people to chat a bit more privately. See the thread for more details.

battleship - battleship game. pretty straight-forward, instructions are in-game.

Oh, right, forgot this one…
fire - fire effect demo. For this build, added black & white support. What does monochrome fire look like? you'll have to try it and see…

:edit: oh, one more… no turtle code in here yet.

Shaft - Not sure if this is "fun" enough, but it is certainly useful. It's polished up and extended a bit from something I use myself a lot as a mining aid. It works like the "go" program, but instead of just going where you tell it, it digs a shaft to where you tell it. By default digs 1x2 shafts, but can do 1x3 or plus-shaped shafts as well, with optional torch placement at regular intervals.

the resource pack

Edit notes
Spoiler:edit: will add thread links when I finish /posting/ threads. These have never been distributed before.

:edit2: threads created, links to threads added. Also stealth-updated the resource pack to add one more feature that was sorely missing to the talk program.

:edit3: another stealth update, last one added /users command and auto-ran it when first run; added auto-running it again when switching channels or frequencies, and properly resetting the user list at the same time

:edit4: Finally! flying around in creative and building cheaty little piston-glowstone xrayers every few hundred meters, found and explored 12 dungeons , and 1 extensive mineshaft network containing 10 chests (that I found), for a total of 24 chests. But no disks.

So I switched to a flatworld, flew around checking village blacksmith chests. 12 villages, 10 blacksmith chests, no disks.

So I thought maybe literally dungeon-only, tho I thought they all used the same loot functions, and went back to first world. Spotted a jungle temple, thought "what the heck" and explored. In the hidden chest in the secret room, I found… a pink cc disk! containing my talk program! Tested, and it worked.

yeeesh. The rarity of these guys… prior to finding the disk I'd found 2 diamond horse armor, 4 iron horse armor, at least a dozen diamonds, 18 gold ingots, and around half a stack of iron ingots.


Except for shaft, these will be included in 1.56!

[edit] Since the original post got deleted, re-linking the Infinite Loot Chest mod in this post.

InfiniteLootChest mod

Include mod in usual way, select InfiniteLootChest under misc tab, place anywhere. Every time you open it you will get a new set of random dungeon loot, making it 10000% easier to find your resource pack disks when testing!

The infinite loot chest mod is no longer needed for testing as of 1.6, since there is now a creative tab containing all treasure disks, which makes things even easier. Which is good, because I never updated the infinite loot chest mod past whatever mc version it was at the time.
Edited on 19 March 2014 - 05:47 PM
Lyqyd #4
Posted 25 July 2013 - 12:17 AM
Here's a pack for nsh (a remote shell program), including the get and put programs. The forum topic can be found here, and the source files for nsh, get and put are available on pastebin.

The nature of nsh is that there isn't much to see, but here's a shot of an advanced computer connected to a turtle via nsh:

Spoiler


Included in 1.56!
theoriginalbit #5
Posted 25 July 2013 - 12:32 AM
Here's the resource pack

Here's the thread for the program, but since it's a master thread I can either make a new thread for it if needed.

Otherwise here is the extracted portion:
SpoilerCCTicTacToe (a.k.a Noughts & Crosses)



[left]Description[/left]
Tic-tac-toe (or Noughts and crosses) is a game for two players, X and O, who take turns marking the spaces in a 3×3 grid. The player who succeeds in placing three respective marks in a horizontal, vertical, or diagonal row wins the game.






[left]Features[/left]
  • Support for Advanced, Normal and pre1.4 computers
  • Click support for advanced computers
  • Close button for advanced computers
  • Simple to use
  • Random Colours! (just for you SuicidalSTDz, you seem to be liking that atm :P/>)
  • An AI that makes moves just like you're playing a real person
  • An easter egg (ability to colour your player name)
Screenshot
Spoiler


Download pastebin
pastebin get uWdsAzP4 tictactoe


EDIT: Dropbox file fixed, now loads into the game. Thank you GopherAtl and GravityScore. No need for new link.


Included in 1.56!
Edited on 01 August 2013 - 03:25 PM
GravityScore #6
Posted 25 July 2013 - 04:20 AM
Submission: LuaIDE

Thread: Here

Short Description: (Taken straight from the thread)
LuaIDE an in game Integrated Development Environment, fully featured with things like live errors, code highlighting, go to line function, automatic saving, error aid, running with and without arguments, and a functional clipboard.

Usually LuaIDE will use the HTTP API to download new updates and different themes, but I've removed that from the version inside the resources pack.

Download: (from Dropbox) Here (please work properly)

Also, quick few questions, are we allowed to submit multiple programs (I think we are)? Is there a deadline for submissions (once 1.56 comes out)? Once 1.56 comes out, will submissions still be accepted (probably not)? Will we be able to update the programs included in CC in case we find bugs needing to be fixed, etc. (will these have to be in future versions of CC)?

Thanks for any consideration! This is a great idea, getting the community to submit programs like this :)/>

Note from Dan: Removed stuff about OSX. This bug is fixed in pr2


Included in 1.56!
masterdisasterHD #7
Posted 25 July 2013 - 07:33 AM
Submission: peripheral

pastebin: http://pastebin.com/N920JufH
Download: Click_Here

Usage:
SpoilerThis program uses arguments to run

peripheral <call> <side> <methods>
this will call the method(s) from the peripheral on the side: "side"

peripheral <check> <side>
this will get the type and methods of the peripheral on side: "side"
robertcarr22 #8
Posted 25 July 2013 - 06:25 PM
Name: To Do List and Message Board
Resource Pack: Here

Description:
SpoilerThis is a simple To Do List and Message Board very useful for if you are working with people on a server.
There is simple GUI where you navigate using the arrow keys, enter and backspace.

It will detect if using wrong computers or monitors, if the monitors are in the wrong place and if they are the wrong size.
It also saves the data to files.

Screenshots:








Thanks For Checking It Out! :)/>
unobtanium #9
Posted 29 July 2013 - 03:34 PM
Fireworks Crafting Helper

Program to create fireworks! Yay!
Forum post here
Resource pack here
Cubesoup #10
Posted 30 July 2013 - 09:42 PM
Treasure disk resource pack: Dropbox

What is it?: A simple program that builds a hollow nxnxn cube where n is specified by the user. Requires a turtle.
The program cannot be used to grief as it does not use any of the dig functions, and terminates upon the turtle
running out of materials or fuel. more detailed instructions can be found on the disk.

If this is something you actually consider, i'll write a better instructions file and write better (extant) input handling.
Also to terminate the program after running out of resources or fuel it just calls a non-existent function, which naturally
would also need to be fixed. (i'm not really a 'lua guy').

This is a fun thing :D/>
nitrogenfingers #11
Posted 06 August 2013 - 12:23 AM
I've included two games as fun submissions:

LaserBlast
GoldRunner

Treasure pack download here

Edit: Ensured treasure pack conforms to format requirementsu


GoldRunner included :D/>
Edited on 14 October 2013 - 06:47 AM
civilwargeeky #12
Posted 12 August 2013 - 06:57 PM
Want a quarry program too? I've got one of those :)/>

Resource Pack: Here
Thread: Here

Description: This is just a simple quarry program. You start it up, and it will ask you for dimensions of you hole. If you don't have enough fuel, it will prompt you for more. It also supports a lot of arguments. You can find all of the arguments by using "quarry help" as well some short examples of how to use the program with arguments. The program also checks if it run on a turtle, and if not, will prompt the user to use the companion rednet program. There is a full list of stuff it does on the forum thread.
The pack also includes a rednet program that you can use to track mining progress. It prompts you for modem side and channel number (printed on the turtle). This program prints helpful information on how far along the turtle is in its mining run.
The final file that comes in the pack just describes what the program does and that you can say "quarry help" for new users.
fredthead #13
Posted 14 August 2013 - 10:03 AM
Here is a game in which you have to shoot down ufos that are trying to abduct people.

Here is the link. I've tested it with GopherATLs Infinite Loot mod
Resource pack

Thread here includes a video.
This version now comes with persistent high scores and this version no longer requires a monitor


Included in 1.57!
Vilsol #14
Posted 01 September 2013 - 08:07 PM
I have made Conway's game of life inside Minecraft

Here is the thread: Here

Here is the resource pack: Here


Included in 1.57!
Left4Cake #15
Posted 03 September 2013 - 11:08 AM
I have made a simple 2-Player Pokemon Battle simulator. It contains Pokemon #1-12 at the moment and attempts to use accurate game math.

Given the time I will upload a version with all copyrighted names removed at a later date. (since its all strings and no graphic that won't be to hard) but I don't really know if that an issue since other Minecraft mods do have Pokemon Related stuff in it so I figured I submit it here anyway: http://www.lozengia....t/CCPokemon.zip

It is all done in text and works any any computer. Instructions on how to navigate appear on the screen and its turn based 2-player in a single Craft-Computer.
Bomb Bloke #16
Posted 20 November 2013 - 08:28 AM
Edit: Nevermind.
Edited on 21 March 2014 - 07:26 AM
awsmazinggenius #17
Posted 23 November 2013 - 10:11 PM
May I ask if it is allowed to have a program that optionally uses the HTTP API to self-update (with user consent, of course) but is not required to run the program? (For example, I have a program that will check for uptakes at my GitHub at every run, but if the HTTP API is disabled just shows the message "Could Not Check for Updates as the HTTP API is Disabled" for a couple seconds, then continues normally? For example, this:

term.clear()
term.setCursorPos(1, 1)
if not http then
  print("Could Not Check for Updates as the HTTP API is Disabled")
else
  --# update checking code
end

--# normal program, not requiring further use of the HTTP API

Edit:
The rules state no usage of the HTTP API. So, no.
:(/>, looks like I would have to prepare a special "treasure" build then. But I thought the rules were it must not require the HTTP API, and this is an optionaI feature.
Edited on 27 November 2013 - 08:19 PM
Lyqyd #18
Posted 23 November 2013 - 11:31 PM
The rules state no usage of the HTTP API. So, no.
Bomb Bloke #19
Posted 23 November 2013 - 11:57 PM
I guess these posts will be cleared soon, but I still feel it's worth mentioning somewhere in the OP/thread that the treasure disks are read-only - even if updaters were allowed, they'd be unable to alter the original files.
Kaikaku #20
Posted 16 December 2013 - 03:49 PM
buildHead

turtle program that can build more than 16 different 8x8 mob heads.

Resource pack: http://www.file-upload.net/download-8412127/CCResourcePackBuildHead.zip.html

Forum thread: http://www.computercraft.info/forums2/index.php?/topic/16358-build-16x-mob-heads/
AndreWalia #21
Posted 03 January 2014 - 04:58 AM
And-Gate,Nor-Gate,T-Flip-Flop
not exactly fun but it is quite useful!
resource pack
EDIT: Oh, and the video is from before I added the GUI
Edited on 03 January 2014 - 03:58 AM
biggest yikes #22
Posted 24 January 2014 - 05:37 PM
War:
War is a card game. Obviously, as I am I posting here, I've made War in Lua. If you don't know what War is, check the forum post ;)/>
Forum Post: http://www.computercraft.info/forums2/index.php?/topic/16832-war-the-classic-card-game/
Resource Pack Download: https://www.dropbox.com/s/ixrentdvju03bur/WarTreasureDisk.zip
Lyqyd #23
Posted 01 February 2014 - 05:07 PM
I've updated the treasure disk resource pack for nsh to include a bug fix as well as updated compatibility for the CC 1.6 preview. The updated treasure disk pack is at the same URL as the old pack.
oeed #24
Posted 20 March 2014 - 01:31 AM
If you're still looking before your release 1.6, I though Sketch would probably fit the requirements.

Resource Pack: Here
Forums Post: Here
Description: Essentially, Photoshop for ComputerCraft. It's a very simple to use, yet advanced, image editor that supports layers, resizing, etc.
Screenshots:
Spoiler



I do apologise in advanced if there are any .DS_Store files in the resource pack, I tried to remove them but they might still be there.
Lupus590 #25
Posted 31 March 2014 - 10:02 AM
I've just made a small program that may fit for this.
It's an auto labeller, more info in link
http://turtlescripts...dhs4-Auto-Label

Resource pack: https://drive.google.com/file/d/0B-PTl1ncCsOqVDZmVWdPdW85LTQ/edit?usp=sharing

Edit: added resource pack
Edited on 31 March 2014 - 01:35 PM
cpblack #26
Posted 27 October 2014 - 05:32 PM
I would like to nominate CookieWeave, it is simple and I enjoy it. The launcher uses HTTP but you can find the source code here.
Lyqyd #27
Posted 27 October 2014 - 06:44 PM
If you wrote that program and wish to submit it, please follow the submission guidelines found in the first post of this topic.
nitrogenfingers #28
Posted 11 February 2015 - 12:10 PM
It's not the most exciting thing in the world but I wrote WYSIwrite thinking it would make a good edition to the treasure disk archive:

Treasure disk pack: https://www.mediafire.com/?urccdd99z29c7wx
Forum post link: http://www.computercraft.info/forums2/index.php?/topic/21929-editor-wysiwrite/
Galbi3000 #29
Posted 01 April 2015 - 09:43 PM
Here is my submission. I call it Turtle. It either displays a turtle command prompt where only turtle commands are accepted or it can run a turtle script file. There is a sample script file included that digs a tunnel 40 blocks long and 3x3 blocks wide/high (same sample as included in the forum thread, well almost).

The resource pack file is at: https://www.dropbox.com/s/6m9x01dqaaqqouw/Galbi3000TurtleTreasureDisk.zip?dl=0

The forum thread for Turtle: http://www.computercraft.info/forums2/index.php?/topic/22386-turtle-promptscripting/
ViperLordX #30
Posted 14 June 2015 - 04:22 PM
Submission: [Unnamed file browser]

Thread:
http://www.computercraft.info/forums2/index.php?/topic/23171-file-browsermanager-by-viperlordx/page__fromsearch__1

Description: This file browser is a clean, user-friendly, powerful program with functions such as editing, running, and searching for programs.
Creator #31
Posted 14 June 2015 - 10:20 PM
Submission: [Unnamed file browser]

Thread:
http://www.computerc...__fromsearch__1

Description: This file browser is a clean, user-friendly, powerful program with functions such as editing, running, and searching for programs.

You need to do a ressource pack. There is an explanation in the programs section. ;)/>
ViperLordX #32
Posted 14 June 2015 - 10:22 PM
Ok, thanks.
PieCrafted #33
Posted 05 August 2015 - 07:12 PM
Program: alongtimeago

Function: Just an update to the program dan200 made. His ASCII movie ended at 2008, my update is updated to January 2015.

Download: http://j.gs/10591725/alongtimeago-update
LDDestroier #34
Posted 18 November 2015 - 03:03 AM
If a program makes use of the HTTP api, but it has nothing to do with the operation of the program (say, an updating function), does it still count?
Lyqyd #35
Posted 18 November 2015 - 03:54 AM
Just take that functionality out.
xcrafter_40 #36
Posted 24 August 2016 - 08:44 PM
Name: To Do List and Message Board
Resource Pack: Here

Description:
SpoilerThis is a simple To Do List and Message Board very useful for if you are working with people on a server.
There is simple GUI where you navigate using the arrow keys, enter and backspace.

It will detect if using wrong computers or monitors, if the monitors are in the wrong place and if they are the wrong size.
It also saves the data to files.

Screenshots:








Thanks For Checking It Out! :)/>

Broken! tdmb:24: attempt to call nil

EDIT: pastebin get fvvaPQRV tdmb
Edited on 24 August 2016 - 06:47 PM