Discuss Scratch
- -Io-
-
1000+ posts
"Hive" Strategy?
7-wide9-wide because I'm a dum dum version: https://scratch.mit.edu/projects/95249382“Look mom! I made a thing!” Here's a

(why does cubeupload's page have to be down everytime at nighttime)
EDIT:
“Mom! I made another thing!”

Last edited by -Io- (Jan. 24, 2016 03:58:58)
- scratchisthebest
-
1000+ posts
"Hive" Strategy?
I'm finding it more fun to make pretty pictures than to solve the puzzle7-wide9-wide because I'm a dum dum version: https://scratch.mit.edu/projects/95249382“Look mom! I made a thing!” Here's a
http://i66.tinypic.com/2j4adfs.png
(why does cubeupload's page have to be down everytime at nighttime)

http://puu.sh/mHmHE.png
http://puu.sh/mHmMd.png
http://puu.sh/mHmTR.png
ed: Oh come on now http://puu.sh/mHmYt.png
Last edited by scratchisthebest (Jan. 24, 2016 04:01:55)
- -Io-
-
1000+ posts
"Hive" Strategy?
“Mom! Along with the other two i made a third one!”I'm finding it more fun to make pretty pictures than to solve the puzzle7-wide9-wide because I'm a dum dum version: https://scratch.mit.edu/projects/95249382“Look mom! I made a thing!” Here's a
http://i66.tinypic.com/2j4adfs.png
(why does cubeupload's page have to be down everytime at nighttime)
http://puu.sh/mHmHE.png
http://puu.sh/mHmMd.png
http://puu.sh/mHmTR.png
ed: Oh come on now http://puu.sh/mHmYt.png

EDIT: Woah…

Last edited by -Io- (Jan. 24, 2016 05:00:10)
- PullJosh
-
1000+ posts
"Hive" Strategy?
Oh, nice! I might try to find the best solution for this as well. 

- wizzwizz7
-
500+ posts
"Hive" Strategy?
PullJosh, how does the code and maths work for the computer solving it? Please can you post your code?
- PullJosh
-
1000+ posts
"Hive" Strategy?
Oops! I thought I had already posted it. PullJosh, how does the code and maths work for the computer solving it? Please can you post your code?
Code is here: https://jsfiddle.net/PullJosh/h9oja4jp/6/
Basically it just finds every possible combination of moves (anywhere from 3 to 19 clicks) and then tests them all to see if they work. If they do, it logs the moves to the console.
Very hacky, but it works. Unfortunately, on the larger board, everything just crashes.

(Here's the code for the larger version.)
- PullJosh
-
1000+ posts
"Hive" Strategy?
Sure! anyone want to make a variable width version?https://scratch.mit.edu/projects/95279740/
- PullJosh
-
1000+ posts
"Hive" Strategy?
Looks like 5 and 9 are the only widths that are very interesting. The rest are pretty easy. 

- wizzwizz7
-
500+ posts
"Hive" Strategy?
Oh. So not a mathematical way of doing it? (there might not be one)Oops! I thought I had already posted it. PullJosh, how does the code and maths work for the computer solving it? Please can you post your code?
Code is here: https://jsfiddle.net/PullJosh/h9oja4jp/6/
Basically it just finds every possible combination of moves (anywhere from 3 to 19 clicks) and then tests them all to see if they work. If they do, it logs the moves to the console.
Very hacky, but it works. Unfortunately, on the larger board, everything just crashes.
(Here's the code for the larger version.)
- WooHooBoy
-
1000+ posts
"Hive" Strategy?
Of course there is. We just don't know what yet :pOh. So not a mathematical way of doing it? (there might not be one)Oops! I thought I had already posted it. PullJosh, how does the code and maths work for the computer solving it? Please can you post your code?
Code is here: https://jsfiddle.net/PullJosh/h9oja4jp/6/
Basically it just finds every possible combination of moves (anywhere from 3 to 19 clicks) and then tests them all to see if they work. If they do, it logs the moves to the console.
Very hacky, but it works. Unfortunately, on the larger board, everything just crashes.
(Here's the code for the larger version.)
- BookOwl
-
1000+ posts
"Hive" Strategy?
I'm making one in python right now. anyone want to make a variable width version?
- wizzwizz7
-
500+ posts
"Hive" Strategy?
I don't know. It could be a bit like the postman problem - how could the postman do his round (on a specific map) travelling the least? - where there is no mathematical way to solve it, just brute force.Of course there is. We just don't know what yet :pOh. So not a mathematical way of doing it? (there might not be one)Oops! I thought I had already posted it. PullJosh, how does the code and maths work for the computer solving it? Please can you post your code?
Code is here: https://jsfiddle.net/PullJosh/h9oja4jp/6/
Basically it just finds every possible combination of moves (anywhere from 3 to 19 clicks) and then tests them all to see if they work. If they do, it logs the moves to the console.
Very hacky, but it works. Unfortunately, on the larger board, everything just crashes.
(Here's the code for the larger version.)
- Firedrake969
-
1000+ posts
"Hive" Strategy?
And there's a proof written for that, but probably not fun to read 
I'm 100% sure I've played a game either extremely similar to or just like it, but I can't remember the name… :L

I'm 100% sure I've played a game either extremely similar to or just like it, but I can't remember the name… :L
- BookOwl
-
1000+ posts
"Hive" Strategy?
That's actually called the traveling salesman problem, and it is NP-Complete, which means that there might be an efficient way to solve it, but nobody has been able to figure out one.I don't know. It could be a bit like the postman problem - how could the postman do his round (on a specific map) travelling the least? - where there is no mathematical way to solve it, just brute force.Of course there is. We just don't know what yet :pOh. So not a mathematical way of doing it? (there might not be one)Oops! I thought I had already posted it. PullJosh, how does the code and maths work for the computer solving it? Please can you post your code?
Code is here: https://jsfiddle.net/PullJosh/h9oja4jp/6/
Basically it just finds every possible combination of moves (anywhere from 3 to 19 clicks) and then tests them all to see if they work. If they do, it logs the moves to the console.
Very hacky, but it works. Unfortunately, on the larger board, everything just crashes.
(Here's the code for the larger version.)
An example of a problem that is truly unsolvable (even with brute forcing) would be Post's Correspondence problem
- wizzwizz7
-
500+ posts
"Hive" Strategy?
Nope, I enjoy reading that sort of stuff. POST IT! Also, it's called ‘Lights Out’. And there's a proof written for that, but probably not fun to read
I'm 100% sure I've played a game either extremely similar to or just like it, but I can't remember the name… :L

- PullJosh
-
1000+ posts
"Hive" Strategy?
http://www.csd.uoc.gr/~hy583/papers/ch11.pdfAll that Times New Roman is getting on my nerves.