Skip to content

Instantly share code, notes, and snippets.

Hardik Khichi Khichi-Hardik

Block or report user

Report or block Khichi-Hardik

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View print_board.cpp
void Board::print_board(){
if(game_rings == 5){
cout << " " << " " << " " << " " << " " << " " << endl;
cout << " " << " " << " " << " " << print_position(-1,4) << " " << print_position(1,5) << endl;
cout << " " << " " << " " << print_position(-2,3) << " " << print_position(0,4) << " " << print_position(2,5) << endl;
cout << " " << " " << print_position(-3,2) << " " << print_position(-1,3) << " " << print_position(1,4) << " " << print_position(3,5) << endl;
cout << " " << print_position(-4,1) << " " << print_position(-2,2) << " " << print_position(0,3) << " " << print_position(2,4) << " " << print_position(4,5) << endl;
cout << " " << " " << print_position(-3,1) << " " << print_position(-1,2) << " " << print_position(1,3) << " " << print_position(3,4) << " " << " " << endl;
You can’t perform that action at this time.