JAVA
java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// created by Sakshi
// You can add more features according to your wish.
import java.util.*;
class Ouija_Board
{
public static void main(String args[])
{
Scanner sc = new Scanner(System.in);
Random random = new Random();
//System.out.println("Ask question:- ");
String user = sc.nextLine();
String[] responses1 = {"I am with you ","I am here ","I am behind you"};
String[] responses2 = {"Amelia","Emma","Charlotte","Evelyn","Scarlett","Ella","Chloe","Lily","Jack","Oliver","James","Joseph","George"};
String[] responses3 = {"I live in cemetery","I live in your house"};
String[] responses4 = {"Yes","No","May be"};
String[] responses5 = {"Yes","May be","Yes, I will kill you if you don't do my work"};
String[] responses6 = {"No, I am devil","I am evil","I am demon","No, I am ghost","No"};
String[] responses7 = {"You will die after 3 days","You will die after 10 days","You will die after 1 month","You will die after 4 months","You will die after 1 year"};
String[] responses8 = {"You have to find my dead body","You have to find my body in Winchester Myster House"};
if(user.equals("Is anyone here?") || user.equals("Are you here?") || user.equals ("Where are you?"))
{
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run