Here’s a Vocabulary booster game coded in JAVA language.
import java.io.*;
import java.lang.*;
public class game
{
public static void intro()
{
System.out.println(“Welcome to Vocabulary Booster game”);
System.out.println(“RULES OF THE GAME:-”);
System.out.println(“1.Your aim is to guess the word”);
System.out.println(“2.The vowels will be displayed”);
System.out.println(“3.You will have 7 chances to guess the word”);
System.out.println(“BEST OF LUCK!”);
}
public static void display(int a[],String w)
{
System.out.println();
for(int i=0;i<w.length();i++)
{
if(a[i]==1)
{
System.out.print(w.charAt(i)+” “);
}
else
{
System.out.print(“_ “);
}
}
}
public static int search(char c,int [...]
Vocabulary booster game in Java language