#include <game_io.h>
It is currently used by the 'eliottxt' interface, but is also useful for debugging purposes. Feel free to add other printing methods that you may need...
TODO: Maybe we could also use this class as a basis for non-regression tests?
Definition at line 40 of file game_io.h.
Static Public Member Functions | |
static void | printBoard (ostream &out, const Game &iGame) |
static void | printBoardJoker (ostream &out, const Game &iGame) |
static void | printBoardMultipliers (ostream &out, const Game &iGame) |
static void | printBoardMultipliers2 (ostream &out, const Game &iGame) |
static void | printNonPlayed (ostream &out, const Game &iGame) |
static void | printPlayedRack (ostream &out, const Game &iGame, int n) |
static void | printAllRacks (ostream &out, const Game &iGame) |
static void | printSearchResults (ostream &out, const Training &iGame, int) |
static void | printPoints (ostream &out, const Game &iGame) |
static void | printAllPoints (ostream &out, const Game &iGame) |
|
Definition at line 213 of file game_io.cpp. References Game::getNPlayers(), Game::getPlayer(), and Player::getPoints(). Referenced by display_data(). |
|
Definition at line 171 of file game_io.cpp. References Game::getNPlayers(), Game::getPlayerRack(), and PlayedRack::RACK_SIMPLE. Referenced by display_data(). |
|
Definition at line 32 of file game_io.cpp. References BOARD_MAX, BOARD_MIN, Game::getBoard(), and Board::getChar(). Referenced by display_data(). |
|
Definition at line 53 of file game_io.cpp. References ATTR_JOKER, BOARD_MAX, Game::getBoard(), Board::getChar(), and Board::getCharAttr(). Referenced by display_data(). |
|
Definition at line 78 of file game_io.cpp. References BOARD_MAX, Game::getBoard(), Board::getChar(), Board::getLetterMultiplier(), and Board::getWordMultiplier(). Referenced by display_data(). |
|
Definition at line 113 of file game_io.cpp. References BOARD_MAX, Game::getBoard(), Board::getChar(), Board::getLetterMultiplier(), and Board::getWordMultiplier(). Referenced by display_data(). |
|
Definition at line 144 of file game_io.cpp. References Tile::getAllTiles(), Game::getBag(), and Bag::in(). Referenced by display_data(). |
|
Definition at line 165 of file game_io.cpp. References Game::currPlayer(), Game::getPlayerRack(), and PlayedRack::RACK_SIMPLE. Referenced by display_data(). |
|
Definition at line 207 of file game_io.cpp. References Game::getPlayer(), and Player::getPoints(). Referenced by display_data(). |
|
Definition at line 195 of file game_io.cpp. References Training::getResults(), searchResultLine(), and Results::size(). Referenced by display_data(). |