36 posts
Location
United States
Posted 14 April 2013 - 07:11 AM
Craftogram
A ComputerCraft Puzzle Based on Cryptograms
What is Craftogram?Craftogram is a game based on encrypting a word or phrase, and then guessing it. It is very similar to a cryptogram.What does it do?The program takes the alphabet and switches the letters around a number of times based on difficulty. It then writes a word or phrase taken randomly from a list in the new alphabet. Finally, you can switch letters, attempting to find the phrase. What features does it offer?Craftogram features a menu with mouse and key support, color, a clean interface, and phrase customization (if you don't mind peeking your head into the code).
It is not currently compatible with non-advanced computers, but that may be added in a future update if the community asks for it. Screenshots:See the post just below this one.How do I add my own phrases?To do that, edit the code in your computer. Right at the top is a table called "Quotes." If you know how, just add your quote to the table. If you don't, at the bottom of that table, type this in:
[#] = "Your phrase here!" -- The # is the next number in the sequence.
Add a comma to the end of the quotes surrounding the phrase before yours, and you're good!Any plans for Craftogram?Not really. This was made in an afternoon as a break from a big project I'm working on, so I don't know if I'll ever really update this. If the community wants it though, I think I might take another break and add some things!If I were to add anything, these are things I'm considering right now: - Ability to add phrases from inside the program.
- Non-Advanced computer support.
Support for capitalization in the middle of phrases Added.- Got anything you would want? Let me know in a reply!
That about wraps it up! The pastebin link is at the top of the page and again below. Let me know of bugs, improvements, or features I should add! Enjoy!
36 posts
Location
United States
Posted 21 April 2013 - 05:08 PM
Thanks to the helpful people in Ask a Pro, here are some screenshots.
Spoiler
[attachment=1128:2013-04-13_10.35.19.png]
[attachment=1129:2013-04-13_10.35.25.png]
[attachment=1130:2013-04-13_10.36.35.png]
[attachment=1131:2013-04-13_10.37.29.png] I'd love any feedback you all might have!
695 posts
Location
In my basement.
Posted 22 April 2013 - 04:31 AM
Very nice game. Mind if i use it in my OS and modify the code a bit?
7508 posts
Location
Australia
Posted 22 April 2013 - 04:45 AM
Thanks to the helpful people in Ask a Pro, here are some screenshots.
Spoiler
I'd love any feedback you all might have!
Screenshots are broken
36 posts
Location
United States
Posted 22 April 2013 - 07:08 AM
Very nice game. Mind if i use it in my OS and modify the code a bit?
Thanks, and sure! Modify it how you see fit. I'd like the comment at the top of the code with my name to remain, but otherwise feel free to do what you would like with it!
36 posts
Location
United States
Posted 22 April 2013 - 07:11 AM
Thanks to the helpful people in Ask a Pro, here are some screenshots.
Spoiler
I'd love any feedback you all might have!
Screenshots are broken
So they are. They were working last night, so I'm not sure why they aren't now. I've re-uploaded them, but they might break again. Hopefully not! Thanks!
1852 posts
Location
Sweden
Posted 22 April 2013 - 12:21 PM
This seems quite interesting, And I'm glad to see more games as usual. :D/>
695 posts
Location
In my basement.
Posted 22 April 2013 - 08:09 PM
Very nice game. Mind if i use it in my OS and modify the code a bit?
Thanks, and sure! Modify it how you see fit. I'd like the comment at the top of the code with my name to remain, but otherwise feel free to do what you would like with it!
Thanks!
695 posts
Location
In my basement.
Posted 22 April 2013 - 08:59 PM
I got an error:
bios:338: [string "craftogram"]:17: '}' expected (to close '{' at line 5)
I added one quote like so:
local Quotes = {
[1] = "An apple a day keeps the doctor away!",
[2] = "To infinity and beyond!",
[3] = "A spoonful of sugar helps the medicine go down.",
[4] = "Ace of spades",
[5] = "Minecraft",
[6] = "Computercraft is awesome!",
[7] = "Nitrogenfingers is a boss!",
[8] = "Battlecruiser operational!",
[9] = "Black hole",
[10] = "You've just been ethoed!",
[11] = "Chess anyone?",
[12] = "MackOS"
}
What's wrong?
To the mods:
I posted this here since I'm asking the creator of this game.
If you need to move it, move it.
36 posts
Location
United States
Posted 23 April 2013 - 07:03 AM
Just by looking at what you added, I can't see an obvious error. I can't test anything right now, but I will sometime later today and see what I can do. Also, the program currently doesn't support capitalization after the first letter (Mackos is fine, MackOS is not). It shouldn't error, it should just leave the letters capitalized and not switch them. Since you're adding this to your OS though, I'll start work on adding support for it. Shouldn't be that hard.
36 posts
Location
United States
Posted 23 April 2013 - 09:57 AM
@ Mackan90096
I downloaded a fresh copy of Craftogram and added what you say you did, and it works great for me. The capitalization does exactly what I thought it would, and like I said, I'm working on that. I would double check that adding the quote is all you changed. Otherwise, I'm not sure what the error is for!
695 posts
Location
In my basement.
Posted 23 April 2013 - 09:56 PM
I found the error, i forgot a
,
…
36 posts
Location
United States
Posted 24 April 2013 - 10:47 AM
No worries! I look forward to seeing it in your OS!
6 posts
Location
In a Superflat world making turtles play games.
Posted 24 April 2013 - 12:31 PM
Very fun game! easy to rage to sometimes,but fun.