The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript car game

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #192351

    hi i am facing a problem in the car game

    *when u click the turns are working properly
    when the dice is rolled
    * the problem is how to get the cars reach the finish line an how do i check who has won

    learning js trying to build stuff an learn as i am on my own there is no guidance if u guys help me it will help me in my carrier thanks



    Seems to me that you need to set an end value for the finish line, keep track of each player’s position value…then when the position value is higher than the finish value…boom “We have a winner!”.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.