// File: /workspace/github_cpp_makefile_star2_O3/tyhsu[P]Ewn/game.cpp
// Function: Game::print_board()
void Game::print_board()
{
	cout << "\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" << endl;
	cout << "The current board:" << endl;
	cout << "     /-----\\" << endl;
	for (int i=0; i<5; i++) {
		cout << "     |";
		for (int j=0; j<5; j++) {
			char c = this->board[j][i];
			if (c==0) cout << " ";
			else if (c >= 'A' && c <= 'F')
				cout << ANSI_COLOR_RED << c << ANSI_COLOR_RESET;
			else
				cout << ANSI_COLOR_YELLOW << c << ANSI_COLOR_RESET;
			//else cout << c;
		}
		cout << "|" << endl;
	}
	cout << "     \\-----/" << endl;
	cout << "====================================" << endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %r14
movq 0x53cb(%rip), %rbx      # 0xcfc8
leaq 0x1c2c(%rip), %rsi      # 0x9830
movl $0x25, %edx
movq %rbx, %rdi
callq 0x2170
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20c0
leaq 0x1c17(%rip), %rsi      # 0x9856
movl $0x12, %edx
movq %rbx, %rdi
callq 0x2170
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20c0
leaq 0x1bef(%rip), %rsi      # 0x9869
movl $0xc, %edx
movq %rbx, %rdi
callq 0x2170
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20c0
xorl %eax, %eax
leaq 0x1bcc(%rip), %r15      # 0x9883
movq %rax, -0x38(%rbp)
movl $0x6, %edx
movq %rbx, %rdi
leaq 0x1bac(%rip), %rsi      # 0x9876
callq 0x2170
movq $-0x19, %r12
movb 0x19(%r14,%r12), %r13b
testb %r13b, %r13b
je 0x7d0e
leal -0x41(%r13), %eax
movl $0x5, %edx
movq %rbx, %rdi
cmpb $0x5, %al
ja 0x7d1f
leaq 0x1b86(%rip), %rsi      # 0x987d
callq 0x2170
movb %r13b, -0x29(%rbp)
movl $0x1, %edx
movq %rbx, %rdi
leaq -0x29(%rbp), %rsi
jmp 0x7d3b
movl $0x1, %edx
movq %rbx, %rdi
leaq 0x1802(%rip), %rsi      # 0x951f
jmp 0x7d4b
leaq 0x1b62(%rip), %rsi      # 0x9888
callq 0x2170
movb %r13b, -0x2a(%rbp)
movl $0x1, %edx
movq %rbx, %rdi
leaq -0x2a(%rbp), %rsi
callq 0x2170
movl $0x4, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x2170
addq $0x5, %r12
jne 0x7cd6
movl $0x1, %edx
movq %rbx, %rdi
leaq 0x1b16(%rip), %rsi      # 0x987b
callq 0x2170
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20c0
movq -0x38(%rbp), %rax
incq %rax
incq %r14
cmpq $0x5, %rax
jne 0x7cb7
leaq 0x1ae2(%rip), %rsi      # 0x988e
movl $0xc, %edx
movq %rbx, %rdi
callq 0x2170
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20c0
leaq 0x1748(%rip), %rsi      # 0x952f
movl $0x24, %edx
movq %rbx, %rdi
callq 0x2170
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20c0
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq