Discuss Scratch

scrappymammy
Scratcher
33 posts

Multiplication Table

I'm making a math program for kids to help them learn their multiplications. One feature I want to add is that it shares a times tables chart that maps which ones were right and wrong, so they can know how many still need to learn.

So, I want to map the chart and use a little red square, ghosted to 50 so that it highlights the ones they got wrong. I'm saving the ones they've gotten wrong in two lists. One lists shows the equation. The other just keeps track of factor 1 and factor 2 that they don't know, so like if it's 9 x 7 = 63, one keeps that equation, the other just keeps track of 9 and 7. So, then I take the 9 and the 7 and I'm trying to use math equations in my coding so that it will automatically shoot the red square over to that answer on the chart, so they can visualize that they need to learn that one.

My problems is that my programming equations for locating the squares is either half-baked or completely wrong. My red squares are going all over the place and not spreading out. They should take item 1 from the list, then item two from the list and place the square where it belongs, then take the next two and do the same. Nope, they're just all piling on top of each other somewhere almost off the chart.


I'd rather not share the project just yet, but realize now that it has to be done.
Hamster Times Shop

Last edited by scrappymammy (Sept. 19, 2017 19:24:06)

mstone326
Scratcher
1000+ posts

Multiplication Table

Do you have a list of coordinates of where the red square should go? What are you using for for the numbers from the table? Clones? Stamps? Just a backdrop with a drawn grid? That will help give you options for the red square to follow.
scrappymammy
Scratcher
33 posts

Multiplication Table

That information is in the two pictures. I'm using clones. The square must move 35 to the right for each column and 26 down for each row.
scrappymammy
Scratcher
33 posts

Multiplication Table

I feel like multiplying 35 by the variable of factor 1 should give the information of how far it needs to move to the right. Then adding that number to the starting location should give me the final location. But it isn't working, so I know I must be doing something wrong

Last edited by scrappymammy (Sept. 19, 2017 17:42:33)

mstone326
Scratcher
1000+ posts

Multiplication Table

Your first picture isn't showing anything. I see your second picture with the red squares down bottom right. Can you post whatever is in that first again?
scrappymammy
Scratcher
33 posts

Multiplication Table

I shared the project with “Under Construction” tags all over it, so you can view the coding, if you like.

Multiplication Game

Last edited by scrappymammy (Sept. 19, 2017 18:34:56)

mstone326
Scratcher
1000+ posts

Multiplication Table

I'm looking at it now. What mult mode am I looking at? When does a level end? When should that grid show with the red squares? Trying to get to the meat and potatoes of the math part, as much as I'd like to spend time with the hampster.
scrappymammy
Scratcher
33 posts

Multiplication Table

The coding for the times table chart is in the red square sprite. The Multiply Marathon isn't working properly right now, please ignore it. The grid should show when you click on the little tag that the hamster is holding on the blue menu screen. It has an “under construction” tag across it.
mstone326
Scratcher
1000+ posts

Multiplication Table

When are items added to the wrong list? I've tried getting them wrong on random numbers and on choose a times table and I don't see anything recording there.

Also, I see a lot of go to blocks looking like they are waiting to be used ( I think anyway). A grid system could help simplify that. Here is an example of one below, hit the spacebar to see the grid. You could arrange your grid to match your numbers then meet to show the answer.

Should that grid show for every item wrong? for how long until the next one shows?

I move by row and column in this instead of x and y. so column 5 could be the number 5 in your grid. and row 2 could be the number 2. Over 5 down 2. Will be easier in the long run than multiplying and adding offsets I think. I willl look some more though.

https://scratch.mit.edu/projects/120191817/
scrappymammy
Scratcher
33 posts

Multiplication Table

Items are added to the ‘wrong’ list when the player chooses to click the “Don't Know” button. It's a choice because sometimes you can enter the answer to 1 x 1 wrong by hitting the wrong keys and I didn't want it to get annoying.
I was just using the ‘go to’ blocks to map out the grid. It's just temporary, unless it comes to the point where I actually have to set each one to a variable. I was hoping to avoid that.

To answer how long it should show on the grid, it would be an optional tool you can choose to look at to see how many you still need to learn. I use this method with my own children, by printing out a times table chart and highlighting everything they know, then showing them how many they still need to learn. Usually it surprises them because they think there are still soooo many to learn, but it's really not that many. I would want the information to save somehow, so deleting each item on the list is really not ideal. I just couldn't think of a better way at present.

I'm going to check out your program. Thanks so much for all of your help. I know wading through my program has got to induce a headache.
mstone326
Scratcher
1000+ posts

Multiplication Table

No problem at all. I am a teacher in a 3year old through grade 8 school. I am the tech guy. I like your ideas. Good stuff.

Looking through a program with so many sprites and scripts can get confusing in case of missing something happening somewhere else. I'm trying to throw together a quick example to help with that.

We need to be more defined of where things go. I didn't see the don't know button as I had your variables and lists showing. I'll check that now.
WAUthethird
Scratcher
100+ posts

Multiplication Table

If you like, you can look at this Multiplication Driller I made for some help: https://scratch.mit.edu/projects/143073400/
WarriorsFan999
Scratcher
19 posts

Multiplication Table

I bet this is already over, but to save the info for each Scratcher you could use more lists. For example, for 9x3:
if(answer)=27thenreplaceitemitemusernamevoflist (list :username: list)vof9x3withrightelsereplaceitemitemusernamevoflist (list :username: list)vvof9x3withwrong
Harakou
Scratcher
1000+ posts

Multiplication Table

WarriorsFan999 wrote:

I bet this is already over, but to save the info for each Scratcher you could use more lists. For example, for 9x3:
if(answer)=27thenreplaceitemitemusernamevoflist (list :username: list)vof9x3withrightelsereplaceitemitemusernamevoflist (list :username: list)vvof9x3withwrong
Hi! Thank you for offering your help, but this thread is pretty old - I don't think it's relevant anymore. When you respond to a topic, please make sure it's recent and the original poster still needs an answer. Thanks!

Powered by DjangoBB