// File: /workspace/github_cpp_makefile_star2_O1/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 0x5211(%rip), %rbx      # 0xcfc8
leaq 0x1a72(%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 0x1a5d(%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 0x1a35(%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 0x1a12(%rip), %r15      # 0x9883
movq %rax, -0x38(%rbp)
movl $0x6, %edx
movq %rbx, %rdi
leaq 0x19f2(%rip), %rsi      # 0x9876
callq 0x2170
movq $-0x19, %r12
movb 0x19(%r14,%r12), %r13b
testb %r13b, %r13b
je 0x7ec8
leal -0x41(%r13), %eax
movl $0x5, %edx
movq %rbx, %rdi
cmpb $0x5, %al
ja 0x7ed9
leaq 0x19cc(%rip), %rsi      # 0x987d
callq 0x2170
movb %r13b, -0x29(%rbp)
movl $0x1, %edx
movq %rbx, %rdi
leaq -0x29(%rbp), %rsi
jmp 0x7ef5
movl $0x1, %edx
movq %rbx, %rdi
leaq 0x1648(%rip), %rsi      # 0x951f
jmp 0x7f05
leaq 0x19a8(%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 0x7e90
movl $0x1, %edx
movq %rbx, %rdi
leaq 0x195c(%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 0x7e71
leaq 0x1928(%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 0x158e(%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