#include<iostream>
#include<cmath>
using namespace std;
int main()
{
int i,j=0,o,u;
char a[1000]={'A','B','C','D','E','F','G','H','$','I','J','K','@','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','$','@','!','#','$','%','^','&','*','?','/','|','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','@','!','*','%','@','&','|','M','N','O','P','Q','R'};
char b[26]={'$','@','!','#','$','%','^','&','*','?','/','|','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z'};
cout<<"游戏规则:1、任意選擇一個兩位數 (或者說,從10 ~ 99之間任意選擇一個数),把這個數的十位與個位相加,再把任意選擇的数减去這個和."<<endl;
cout<<"例如:你選的数是23,然後 2+3=5,然後 23-5=18"<<endl;
cout<<"2、在圖表中找出與最後得出的數所相應的圖形,並把這個圖形牢記心中,然後在水晶球上點一下。";
cout<<"你會發現,水晶球所顯示出來的圖形就是你剛剛心裡記下的那個圖形."<<endl;
cout<<"3、把這個讀心球的網址覆製給10個或更多的朋友,也許你就會明白一切,因為水晶球會讓你神奇的感應到它是如何来讀你的心!"<<endl<<endl<<endl;
do
{
if(j>0)
{
cout<<"神奇吧!!! 1:TRY AGAIN 2:back"<<endl;
cin>>o;
if(o==2)
{
break;
}
}
for(i=0;i<100;i++)
{
if(i%9==0)
{
cout<<" "<<i<<":"<<b[j];
}
else
{
cout<<" "<<i<<":"<<a[i+j];
}
if((i+1)%10==0)
{
cout<<endl<<endl;
}
}
j++;
cout<<"需要电脑读出你的想法吗? 1:yes 2:no"<<endl;
cin>>u;
if(u=1)
{
cout<<"----------------------------------------------------------------------------"<<"亲: "<<b[j-1]<<" 是否就是你的心中所想呢!!!"<<endl;
}
else
break;
}
while(j<=100);
return 0;
}