Web Analytics Made Easy -
StatCounter Javascript game - CodingForum

Announcement

Collapse
No announcement yet.

Javascript game

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Javascript game

    Hello
    I have been making a game in javascript. The game works now but I would like to know if the user has completed the game. Hope some one have an idea on how to find out if the user has completed the game.
    You can get the game from
    http://www.it-info.dk/spil.zip
    Regards Morten

  • #2
    I ould do the array of length 16,3
    containing picture identifier(i.e id of element holding picture), the right position, current position equal to the right one: true, false

    now, when all, x,3 positions in array are true the game is complete.

    something like this, by the way, nice game (-:
    Found a flower or bug and don't know what it is ?
    agrozoo.net galery
    if you don't spot search button at once, there is search form:
    agrozoo.net galery search

    Comment

    Working...
    X