GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

How to score words in word game?

Oscar_ArmasOscar_Armas Posts: 2Member, PRO
edited June 2013 in Tech Support
I am currently making a word game. How can I score each word a user submits based on the letters they use (say A=10 points, D=20 points)? So if the player submitted the word "Add" they would receive 50 points. I have already set up a Score attribute and a display for it. The player's input is also stored in an attribute. Thank you.

Answers

  • Oscar_ArmasOscar_Armas Posts: 2Member, PRO
    I have actually figured this out on my own. With those with my problem what I did is I checked if the input attribute contains each letter and if it does I added to my score counter.
  • fadamionfadamion Posts: 309Member, PRO
    Ya that works
Sign In or Register to comment.