# Snack Break Ideas!

• Yay!

Now, if you haven't noticed, SH has a long record of being very inconsistent with snack breaks...

I currently have the results from the last snack break ready to post, but we need a new snack break idea to post the results with.

Basically, we haven't forgot about the snack break challenges, but no one seems to have solid ideas when it comes to a challenge.

The challenge should be:

• Specific, with a clear goal
• Easy to explain (About 1-2 paragraphs)
• Unique (No free model copy pasters)

Any ideas that others like and agree with may become a snack break! Please suggest your ideas here!

• One challenge that I've thought of is creating a function that returns the highest common factor (or greatest common divisor) of two integer arguments. The advanced challenge could be to modify the function so that any amount of integers can be passed to it.

Not the most exciting challenge I could have come up with, but an interesting one in my opinion.

• @Spongocardo That's actually not hard, and there are tons of places online where you can easily get functions that do that, which makes this idea non-unique.

Although a math challenge would be fun, it might be hard to pull off because there are tons of places online where you can get whole libraries of math functions for any language. Maybe if it were more specific to ROBLOX.

• The Post correspondence problem seems interesting.

Consider a set of strings, .e.,g `{"a", "ab", "bba"}`. You can make strings by concatenating corresponding elements of the set together, e.g., `"a" .. "a" .. "ab" .. "bba" .. "a" .. "ab"`.

Given two sets of strings, e.g., `{"a", "ab", "bba"}`, and `{"baa", "aa", "bb"}`, is there a string that you can make like that using either set?

Answering "yes" or "no" is undecidable, and thus impossible in general. But, if you know that one exists, you can find it; and in some cases it's possible to answer "no" in a finite amount of time.

The challenge is to write a function that returns a string that can be made from either set (and if you want to, you can try to return `false` in some cases where it's impossible).

• @BlueTaslem So the string would need to be a real English word? If not, could you maybe provide examples of when you would return true?

• @OldPalHappy No, it doesn't have to be a real English word.

For the example `{"a", "ab", "bba"}`, and `{"baa", "aa", "bb"}` Wikipedia gives the solution `"bbaabbbaa"`. So

``print( snackbreak({"a", "ab", "bba"}, {"baa", "aa", "bb"}) ) --> bbaabbbaaa``

• @BlueTaslem I read up on the wiki and watched a video and I think I understand the problem. It's actually rather simple. I think this is perfect for a snack break.

• More challenges would be nice. I'm not very creative.

• make a kill brick

• Or maybe

Make an AI character that will consistently beat you at spleef

• Making this into a function seems like a neat challenge, and it could be pretty useful.

https://en.wikipedia.org/wiki/Elo_rating_system

• @OldPalHappy this looks familiar.

• This post is deleted!

• @Turtletowerz Lol, I didn't know this was in the RBX wiki!

Damn, new ideas still needed!

• The conveyor placement system in factoryidle.com.

• 3D modelling in Roblox?

• lmao the thread got necrobumped

• @OldPalHappy A simple idea, but a minesweeper game for level 1 challenge and an algorithm that solves it 100% of the time for level 2

Looks like your connection to Scripting Helpers was lost, please wait while we try to reconnect.