iratus_game

Last updated:

0 purchases

iratus_game Image
iratus_game Images
Add to Cart

Description:

iratus game

iratus_game #
iratus_game is a package designed to play the Iratus chess variant.
It includes all the features necessary for classic chess such as FEN and PGN notations.
Getting started #
Easily start a game in the console :
import 'package:iratus_game/iratus_game.dart';

void main() {
ConsoleView cv = ConsoleView();
cv.start();
}
copied to clipboard
Or create a randomized game :
void main() {
IratusGame game = IratusGame();
while (game.result == 0) {
var moves = game.board.validNotations.toList();
moves.shuffle();
var move = moves[0];
game.move(move);
print('Played: $move');
}
ConsoleView.printBoard(game.board);
print(game.getPGN());
}
copied to clipboard
Additional information #

Iratus Official Website
iratus_game on pub.dev
Wikipedia's Article on FEN Format
Wikipedia's Article on PGN Format

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.