fix this code
#include <iostream>
#include <conio.h>

using namespace std;

int main() {
	int x=30,y=30;
	int direction=0;
	
	while(true) {
		system("cls");
		
		for (int i=0; i<x;i++) {
			cout << " ";
		}
		cout << endl;
		for (int i=0; i<y;i++) {
			cout << "_";
		}
		cout << endl;
		for (int i=0; i<x;i++) {
			cout << " ";
		}
		cout << endl;
		
		if (direction ==0) {
			y--;
		} else if (direction == 1) {
			x++;
		} else if (direction == 2) {
			y++;
		} else if (direction == 3) {
			x--;
		}
		
		if (x < 0 || x>= 50 || y<0 || y>= 25) {
			break;
		}
		
		char ch = getch();
		
		if (ch == 'w') {
			direction = 0;
		} else if (ch == 'd') {
			direction = 1;
		} else if (ch == 's') {
			direction = 2;
		} else if (ch == 'a') {
			direction = 3;
		}
	}
	
	cout << "Game Over!" << endl;
	
	return 0;
} Use words with all capital letters to highlight key points, but make sure that words with all capital letters appear less than 15 times
user