Feedback on my Projects

I have published 5 projects and would like to hear everyone’s thoughts about them. Positive and Negative feedback are accepted. Also if you have any suggestions to optimize my projects feel free to leave it down below. My public page is linked below.

Factor Finder
The block delete all of Factor List throw an error because Factor List isin’t a list, it is equal to 0 (zero)

This works, but the result is not very aesthetically pleasing (my opinion…):

This is clearer and more readable:
Factor Finder script pic (1)

Cipher Solver
The apostrophe (') is missing from the punctuation list, so you can’t encode “I’m cool!”

It could be cool to support case sensitivity

Tic Tac Toe
Cool game!
At the end of the game, maybe restart another game

Thank you for your feedback!

I have fixed the factor finder project. I overlooked that because I tested it so much :)

In Cipher Solver you didn’t actually put ’ in I’m Cool, But I added ’ to the punctuation list anyway :)

I fixed tic-tac-toe but it asks you to read the project notes every time you restart though. I will have to fix that sometime.

I’m not sure if people read those notes though

I don’t really think so, it’s literally the same.

For feedback on your project, on the tic tac toe project (my favorite one), I strongly recommend using way less when <> blocks because it checks every frame and can get laggy.
Also, you can rewrite


as

for some readability.
(drag the image into snap to import the block and swap the definition automatically)

Yeah, I knew someone would be able to collapse the giant script into like 1 block

When I made the move system I found out that the computer had no way of moving the selector.

So that’s why I used so many when blocks to make the computer be able to move and place O’s

Its definitely the most interesting one, at first I only made projects that had a practical use, but of course that didn’t happen ;)

what font are you using in the snap editor?

Chrome font parameters ?

Snap uses Verdana for the blocks, loucheman just uses a bitmap version of Verdana

Any idea how to collapse the (winning move for [X] board () ) ?


Try this (it might not work but I think it does from testing)

Thanks, I will try it

Future Me: I have tried it and it seems to work, but I will keep testing it

I was making a multi-player version of the tic tac toe and its doing this

It doesn’t seem to be a problem in single player, does it use the algorithm script?

Never mind I set a variable wrong :)

I was updating the algorithm in single player tic tac toe and I ran into a problem.

So I’m trying to make a block to report the spot on the board of the 1st empty corner.

But the (item (0) of (list)) block isn’t working for me because I need to search a list with “0” in it. The block just thinks i’m trying to report the item in the zero spot at the list. Of course a zero spot in a list can’t exist so it reports nothing. Is there any way to get around this?

My new algorithm:

If I can win, go in my winning move

else if my opponent can win go in their winning move (to block them)

else if the center is open go there

else go in the first available corner (if any)

else go in the first available side (If Any)

else go random

maybe try to use the block

(index of [thing] in @list)

idk what your code currently looks like

This sort of works but it reports what item is 0 in the list of: 1, 3, 5, 7. I need the item # on the board to position the selector

try this
Single Player Tic-Tac-Toe script pic (1)

Perfect! Thank you

You’re welcome! This is sort of my first time helping somone else with coding in :snap: and actually getting them to the thing they wanted to do originally.

I have updated the tic-tac-toe algorithm to support priority moves when it can’t win or lose.

It got significantly harder and I might add a difficulty setting that will turn priority moves on and off.

I have said “I have updated the algorithm” so may times :)

I don’t think the “else go random” is necessary, since every possible move is covered without it.