A
A
Artur Kudashev2019-03-21 22:11:49
JavaScript
Artur Kudashev, 2019-03-21 22:11:49

How to make the game right?

Hello, I'm making a clone of the color switch game. Here is a link to CodeSandbox: https://codesandbox.io/embed/vjk3p48v45
Now I have implemented almost everything, but there is one problem. I can't make the ball go down. That is, I want to make the ball go down at a certain speed and when it reaches the circle, compare the color of the sector and the color of the ball. PS do not judge strictly the code, write such applications for the first time.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikolay Matyushkin, 2019-03-22
@archi_kud

So?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question