Guess the word application

Hello everyone,

I am curios about the app inventor, and I am a beginner. I want create a program which is known as guess the word. I want to make user guess the word which is detirmined by me. It is kinda fill the blank but first user must guess letters. There will be a hint button. When user press the hint button user will get a letter. The thing that I am asking for any tips or documents which I can research. I do some practice but when I click the hint button whole blanks get filled. Thank you for your help.

A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook http://www.appinventor.org/book2 ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.
There is a free programming course here http://www.appinventor.org/content/CourseInABox/Intro and the aia files for the projects in the book are here: http://www.appinventor.org/bookFiles
How to do a lot of basic things with App Inventor are described here: http://www.appinventor.org/content/howDoYou/eventHandling .

Also do the tutorials Our Tutorials! to learn the basics of App Inventor, then try something and follow the Top 5 Tips: How to learn App Inventor

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.

This old AI2 Forum post by ABG shows how to do it HangMan

The problem is hint button. It is not like hangman. There will be a hint button which user can use to take a letter for asked word. User will press the hint button and user will get a random letter at textbox. But I cant make that happen. I need your help people. Thank you

To add this capability, you need to keep two lists:

  • A list of all the letters in the original phrase
  • The list of letters that have already been chosen

You will also need some list value procedures:
MINUS

You will also need to know the trick to get a list of letters from a word or phrase: split it at the empty text value and remove the empty iitem 1 from the resulting list.

By combining calls to these procedures, you should be able to derive a list of all the letters that are in the original word but that have not yet been chosen.
There is a list block to grab a random item from a list.