How to score words in word game?

Oscar_ArmasOscar_Armas Member, PRO Posts: 2
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 Member, PRO Posts: 2
    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 Member, PRO Posts: 309
    Ya that works
Sign In or Register to comment.