Skip to content

cetkaik/cetkaik_render_to_console

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cetkaik_render_to_console

How to use

Using cetkaik_compact_representation:

use cetkaik_compact_representation::{Field, Coord};
use cetkaik_fundamental::AbsoluteSide;
use cetkaik_traits::{IsAbsoluteField, IsField};
use cetkaik_render_to_console::*;
let mut field = Field::yhuap_initial();
field.print_to_console();
field = field
    .move_nontam_piece_from_src_to_dest_while_taking_opponent_piece_if_needed(
        Coord::new(8, 8).unwrap(),
        Coord::new(0, 0).unwrap(),
        AbsoluteSide::IASide,
    )
    .unwrap();
field.print_to_console();

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages