Jump to content




[Game][Puzzle] Craftogram


  • You cannot reply to this topic
13 replies to this topic

#1 QuantumGrav

  • Members
  • 36 posts
  • LocationUnited States

Posted 14 April 2013 - 06:11 AM

Craftogram

A ComputerCraft Puzzle Based on Cryptograms

http://pastebin.com/TDFyv9xf


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!

http://pastebin.com/TDFyv9xf



#2 QuantumGrav

  • Members
  • 36 posts
  • LocationUnited States

Posted 21 April 2013 - 04:08 PM

Thanks to the helpful people in Ask a Pro, here are some screenshots.
Spoiler
I'd love any feedback you all might have!

#3 Mackan90096

  • Signature Abuser
  • 518 posts
  • LocationIn my basement.

Posted 22 April 2013 - 03:31 AM

Very nice game. Mind if i use it in my OS and modify the code a bit?

#4 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 22 April 2013 - 03:45 AM

View PostQuantumGrav, on 21 April 2013 - 04:08 PM, said:

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

#5 QuantumGrav

  • Members
  • 36 posts
  • LocationUnited States

Posted 22 April 2013 - 06:08 AM

View PostMackan90096, on 22 April 2013 - 03:31 AM, said:

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!

#6 QuantumGrav

  • Members
  • 36 posts
  • LocationUnited States

Posted 22 April 2013 - 06:11 AM

View Posttheoriginalbit, on 22 April 2013 - 03:45 AM, said:

View PostQuantumGrav, on 21 April 2013 - 04:08 PM, said:

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!

#7 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

Posted 22 April 2013 - 11:21 AM

This seems quite interesting, And I'm glad to see more games as usual. :D

#8 Mackan90096

  • Signature Abuser
  • 518 posts
  • LocationIn my basement.

Posted 22 April 2013 - 07:09 PM

View PostQuantumGrav, on 22 April 2013 - 06:08 AM, said:

View PostMackan90096, on 22 April 2013 - 03:31 AM, said:

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!

#9 Mackan90096

  • Signature Abuser
  • 518 posts
  • LocationIn my basement.

Posted 22 April 2013 - 07: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.

#10 QuantumGrav

  • Members
  • 36 posts
  • LocationUnited States

Posted 23 April 2013 - 06: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.

#11 QuantumGrav

  • Members
  • 36 posts
  • LocationUnited States

Posted 23 April 2013 - 08: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!

#12 Mackan90096

  • Signature Abuser
  • 518 posts
  • LocationIn my basement.

Posted 23 April 2013 - 08:56 PM

I found the error, i forgot a
,
...

#13 QuantumGrav

  • Members
  • 36 posts
  • LocationUnited States

Posted 24 April 2013 - 09:47 AM

No worries! I look forward to seeing it in your OS!

#14 RiokuTheSlayer

  • Members
  • 8 posts
  • LocationIn a Superflat world making turtles play games.

Posted 24 April 2013 - 11:31 AM

Very fun game! easy to rage to sometimes,but fun.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users