練習で自分で考えたジャンケンコード書いたんですが、どうもゴチャゴチャしてる様な気がします。。。
宜しければ良い見本コードを見せてもらえませんか?

int main(void){
bool flag = true;
int play = 0, comp = 0;
string te[] = { "グー", "チョキ", "パー" };
int check[3][3] = { { 2, 1, 0 }, { 0, 2, 1 }, { 1, 0, 2 } };

  srand((unsigned int)time(NULL));
  cout << "グー = 1, チョキ = 2, パー = 3" << "\n" << endl;

  while(flag){
    cout << "ジャンケン... ";
    comp = rand() % 3;
    play = getch() - 0x31;
    if(play > 2){ play = 2; }
    cout << "ポン !" << endl;
    cout << "player " << te[play] << " vs " << te[comp] << " comp" << endl;

    switch(check[play][comp]){
      case 0:
        cout << "you lose...\n" << endl;
        cout << "retry? y/n ";
        if(getch() != 'y'){ flag = false; } cout << "\n" << endl;
        break;
      case 1: cout << "you win!!\n" << endl; break;
      case 2: cout << "even\n" << endl; break;
    }
  }
  return 0;
}