Index
_
|
A
|
B
|
C
|
D
|
E
|
F
|
G
|
H
|
I
|
M
|
N
|
O
|
P
|
R
|
S
|
T
|
V
|
W
|
Y
_
__str__() (apologies.game.History method)
(apologies.game.Pawn method)
(apologies.game.Position method)
A
action (apologies.game.History attribute)
,
[1]
Action (class in apologies.rules)
actions (apologies.rules.Move attribute)
,
[1]
actiontype (apologies.rules.Action attribute)
,
[1]
ActionType (class in apologies.rules)
ADULT (apologies.game.GameMode attribute)
ADULT_HAND (in module apologies.game)
,
[1]
all_pawns (apologies.rules.BoardRules attribute)
all_pawns() (apologies.game.PlayerView method)
all_pawns_in_home() (apologies.game.Player method)
apologies
module
apologies.cli
module
apologies.demo
module
apologies.demo_unix
module
apologies.demo_windows
module
apologies.engine
module
apologies.game
module
apologies.render
module
apologies.reward
module
apologies.rules
module
apologies.simulation
module
apologies.source
module
apologies.util
module
B
BASE_HEADERS (in module apologies.simulation)
BLUE (apologies.game.PlayerColor attribute)
(in module tests.apologies.test_rules)
BOARD_SQUARES (in module apologies.game)
,
[1]
BoardRules (class in apologies.rules)
C
calculate() (apologies.reward.RewardCalculator method)
(apologies.reward.RewardCalculatorV1 method)
(apologies.source.RewardInputSource method)
(apologies.source.RewardV1InputSource method)
calculator (apologies.source.RewardV1InputSource attribute)
card (apologies.game.History attribute)
,
[1]
(apologies.rules.BoardRules attribute)
(apologies.rules.Move attribute)
,
[1]
(apologies.rules.Rules attribute)
Card (class in apologies.game)
CARD_1 (apologies.game.CardType attribute)
CARD_10 (apologies.game.CardType attribute)
CARD_11 (apologies.game.CardType attribute)
CARD_12 (apologies.game.CardType attribute)
CARD_2 (apologies.game.CardType attribute)
CARD_3 (apologies.game.CardType attribute)
CARD_4 (apologies.game.CardType attribute)
CARD_5 (apologies.game.CardType attribute)
CARD_7 (apologies.game.CardType attribute)
CARD_8 (apologies.game.CardType attribute)
CARD_APOLOGIES (apologies.game.CardType attribute)
cardtype (apologies.game.Card attribute)
,
[1]
CardType (class in apologies.game)
CattrConverter (class in apologies.util)
Character (class in apologies.engine)
CharacterInputSource (class in apologies.source)
characters (apologies.engine.Engine attribute)
,
[1]
choose_move() (apologies.engine.Character method)
(apologies.source.CharacterInputSource method)
(apologies.source.NoOpInputSource method)
(apologies.source.RandomInputSource method)
(apologies.source.RewardInputSource method)
choose_next_move() (apologies.engine.Engine method)
CIRCLE (in module apologies.game)
,
[1]
CircularQueue (class in apologies.util)
cli() (in module apologies.cli)
color (apologies.game.History attribute)
,
[1]
(apologies.game.Pawn attribute)
,
[1]
(apologies.game.Player attribute)
,
[1]
colors (apologies.engine.Engine property)
completed (apologies.engine.Engine property)
(apologies.game.Game property)
construct_legal_moves() (apologies.engine.Engine method)
(apologies.rules.BoardRules method)
(apologies.rules.Rules method)
copy() (apologies.game.Game method)
(apologies.game.Player method)
(apologies.game.PlayerView method)
(apologies.game.Position method)
create_player_view() (apologies.game.Game method)
D
data() (in module tests.apologies.test_cli)
(in module tests.apologies.test_render)
deck (apologies.game.Game attribute)
,
[1]
Deck (class in apologies.game)
DECK_COUNTS (in module apologies.game)
,
[1]
DECK_SIZE (in module apologies.game)
,
[1]
demo() (in module apologies.cli)
discard() (apologies.engine.Engine method)
(apologies.game.Deck method)
distance_to_home() (apologies.rules.BoardRules static method)
draw() (apologies.engine.Engine method)
(apologies.game.Deck method)
DRAW_AGAIN (in module apologies.game)
,
[1]
draw_again() (apologies.rules.Rules method)
E
Engine (class in apologies.engine)
entries (apologies.util.CircularQueue attribute)
evaluate_move() (apologies.rules.Rules static method)
example() (in module apologies.cli)
execute_move() (apologies.engine.Engine method)
(apologies.rules.Rules method)
F
find_first_pawn_in_start() (apologies.game.Player method)
first (apologies.engine.Engine attribute)
,
[1]
(apologies.util.CircularQueue attribute)
FIXTURE_DIR (in module tests.apologies.test_cli)
(in module tests.apologies.test_render)
from_json() (apologies.game.Game static method)
fullname (apologies.source.CharacterInputSource property)
G
game (apologies.engine.Engine property)
Game (class in apologies.game)
GameMode (class in apologies.game)
get_pawn() (apologies.game.PlayerView method)
GREEN (apologies.game.PlayerColor attribute)
(in module tests.apologies.test_rules)
H
hand (apologies.game.Player attribute)
,
[1]
history (apologies.game.Game attribute)
,
[1]
History (class in apologies.game)
home (apologies.game.Position attribute)
,
[1]
I
id (apologies.game.Card attribute)
,
[1]
(apologies.rules.Move attribute)
,
[1]
index (apologies.game.Pawn attribute)
,
[1]
ISO_TIME_FORMAT (in module apologies.util)
ISO_TIMESTAMP_FORMAT (in module apologies.util)
M
MAX_PLAYERS (in module apologies.game)
,
[1]
MIN_PLAYERS (in module apologies.game)
,
[1]
mode (apologies.engine.Engine attribute)
,
[1]
(apologies.rules.Rules attribute)
,
[1]
module
apologies
apologies.cli
apologies.demo
apologies.demo_unix
apologies.demo_windows
apologies.engine
apologies.game
apologies.render
apologies.reward
apologies.rules
apologies.simulation
apologies.source
apologies.util
tests
tests.apologies
tests.apologies.test_cli
tests.apologies.test_engine
tests.apologies.test_game
tests.apologies.test_render
tests.apologies.test_reward
tests.apologies.test_rules
tests.apologies.test_source
tests.apologies.test_util
Move (class in apologies.rules)
move_to_home() (apologies.game.Position method)
MOVE_TO_POSITION (apologies.rules.ActionType attribute)
move_to_position() (apologies.game.Position method)
move_to_safe() (apologies.game.Position method)
move_to_square() (apologies.game.Position method)
MOVE_TO_START (apologies.rules.ActionType attribute)
move_to_start() (apologies.game.Position method)
msg (apologies.demo_unix.TerminalSizeError attribute)
N
name (apologies.engine.Character attribute)
,
[1]
(apologies.game.Pawn attribute)
,
[1]
(apologies.source.CharacterInputSource property)
next() (apologies.util.CircularQueue method)
next_turn() (apologies.engine.Engine method)
NoOpInputSource (class in apologies.source)
O
opponents (apologies.game.PlayerView attribute)
,
[1]
P
pawn (apologies.rules.Action attribute)
,
[1]
(apologies.rules.BoardRules attribute)
Pawn (class in apologies.game)
pawns (apologies.game.Player attribute)
,
[1]
PAWNS (in module apologies.game)
,
[1]
play_next() (apologies.engine.Engine method)
player (apologies.game.PlayerView attribute)
,
[1]
Player (class in apologies.game)
PlayerColor (class in apologies.game)
playercount (apologies.game.Game attribute)
,
[1]
players (apologies.engine.Engine property)
(apologies.game.Game attribute)
,
[1]
PlayerView (class in apologies.game)
position (apologies.game.Pawn attribute)
,
[1]
(apologies.rules.Action attribute)
,
[1]
Position (class in apologies.game)
public_data() (apologies.game.Player method)
R
RandomInputSource (class in apologies.source)
range() (apologies.reward.RewardCalculator method)
(apologies.reward.RewardCalculatorV1 method)
RED (apologies.game.PlayerColor attribute)
(in module tests.apologies.test_rules)
render() (in module apologies.cli)
render_board() (in module apologies.render)
reset() (apologies.engine.Engine method)
RewardCalculator (class in apologies.reward)
RewardCalculatorV1 (class in apologies.reward)
RewardInputSource (class in apologies.source)
RewardV1InputSource (class in apologies.source)
Rules (class in apologies.rules)
run_demo() (in module apologies.demo)
(in module apologies.demo_unix)
(in module apologies.demo_windows)
run_simulation() (in module apologies.simulation)
S
safe (apologies.game.Position attribute)
,
[1]
SAFE_SQUARES (in module apologies.game)
,
[1]
side_effects (apologies.rules.Move attribute)
,
[1]
simulation() (in module apologies.cli)
SLIDE (in module apologies.game)
,
[1]
source (apologies.engine.Character attribute)
,
[1]
source() (in module apologies.source)
SOURCE_HEADERS (in module apologies.simulation)
square (apologies.game.Position attribute)
,
[1]
STANDARD (apologies.game.GameMode attribute)
start (apologies.game.Position attribute)
,
[1]
start_game() (apologies.engine.Engine method)
(apologies.rules.Rules method)
started (apologies.engine.Engine property)
(apologies.game.Game property)
state (apologies.engine.Engine property)
T
T (in module apologies.util)
TerminalSizeError
test_all_pawns() (tests.apologies.test_game.TestPlayerView method)
test_all_pawns_in_home() (tests.apologies.test_game.TestPlayer method)
test_arbitrary() (tests.apologies.test_reward.TestRewardCalculatorV1 method)
test_bottom() (tests.apologies.test_render.TestRenderBoard method)
test_calculate_position_from_safe() (tests.apologies.test_rules.TestPosition method)
test_calculate_position_from_square() (tests.apologies.test_rules.TestPosition method)
test_calculate_position_home() (tests.apologies.test_rules.TestPosition method)
test_calculate_position_start() (tests.apologies.test_rules.TestPosition method)
test_choose_move() (tests.apologies.test_engine.TestCharacter method)
(tests.apologies.test_source.TestNoOpInputSource method)
(tests.apologies.test_source.TestRandomInputSource method)
(tests.apologies.test_source.TestRewardV1InputSource method)
test_completed() (tests.apologies.test_engine.TestEngine method)
test_completed_and_winner() (tests.apologies.test_game.TestGame method)
test_construct_legal_moves_adult_card() (tests.apologies.test_engine.TestEngine method)
test_construct_legal_moves_adult_nocard() (tests.apologies.test_engine.TestEngine method)
test_construct_legal_moves_card_1() (tests.apologies.test_rules.TestLegalMoves method)
test_construct_legal_moves_card_10() (tests.apologies.test_rules.TestLegalMoves method)
test_construct_legal_moves_card_11() (tests.apologies.test_rules.TestLegalMoves method)
test_construct_legal_moves_card_12() (tests.apologies.test_rules.TestLegalMoves method)
test_construct_legal_moves_card_2() (tests.apologies.test_rules.TestLegalMoves method)
test_construct_legal_moves_card_3() (tests.apologies.test_rules.TestLegalMoves method)
test_construct_legal_moves_card_4() (tests.apologies.test_rules.TestLegalMoves method)
test_construct_legal_moves_card_5() (tests.apologies.test_rules.TestLegalMoves method)
test_construct_legal_moves_card_7() (tests.apologies.test_rules.TestLegalMoves method)
test_construct_legal_moves_card_8() (tests.apologies.test_rules.TestLegalMoves method)
test_construct_legal_moves_card_apologies() (tests.apologies.test_rules.TestLegalMoves method)
test_construct_legal_moves_no_moves_no_card() (tests.apologies.test_rules.TestRules method)
test_construct_legal_moves_no_moves_with_card() (tests.apologies.test_rules.TestRules method)
test_construct_legal_moves_special() (tests.apologies.test_rules.TestLegalMoves method)
test_construct_legal_moves_standard_card() (tests.apologies.test_engine.TestEngine method)
test_construct_legal_moves_standard_nocard() (tests.apologies.test_engine.TestEngine method)
test_construct_legal_moves_with_moves_no_card() (tests.apologies.test_rules.TestRules method)
test_construct_legal_moves_with_moves_with_card() (tests.apologies.test_rules.TestRules method)
test_constructor() (tests.apologies.test_engine.TestCharacter method)
(tests.apologies.test_game.TestCard method)
(tests.apologies.test_game.TestDeck method)
(tests.apologies.test_game.TestHistory method)
(tests.apologies.test_game.TestPawn method)
(tests.apologies.test_game.TestPlayer method)
(tests.apologies.test_game.TestPlayerView method)
(tests.apologies.test_game.TestPosition method)
(tests.apologies.test_rules.TestAction method)
(tests.apologies.test_rules.TestPosition method)
(tests.apologies.test_rules.TestRules method)
(tests.apologies.test_source.TestNoOpInputSource method)
(tests.apologies.test_source.TestRandomInputSource method)
(tests.apologies.test_source.TestRewardV1InputSource method)
test_constructor_2_players_standard() (tests.apologies.test_game.TestGame method)
test_constructor_3_players_standard() (tests.apologies.test_game.TestGame method)
test_constructor_4_players_standard() (tests.apologies.test_game.TestGame method)
test_constructor_empty() (tests.apologies.test_util.TestCircularQueue method)
test_constructor_explicit() (tests.apologies.test_rules.TestMove method)
test_constructor_first_invalid() (tests.apologies.test_util.TestCircularQueue method)
test_constructor_invalid_players() (tests.apologies.test_game.TestGame method)
test_constructor_multiple() (tests.apologies.test_util.TestCircularQueue method)
test_constructor_multiple_first() (tests.apologies.test_util.TestCircularQueue method)
test_constructor_multiple_first_none() (tests.apologies.test_util.TestCircularQueue method)
test_constructor_not_random() (tests.apologies.test_engine.TestEngine method)
test_constructor_random() (tests.apologies.test_engine.TestEngine method)
test_constructor_single() (tests.apologies.test_util.TestCircularQueue method)
test_constructor_single_none() (tests.apologies.test_util.TestCircularQueue method)
test_constructor_uuid() (tests.apologies.test_rules.TestMove method)
test_constructor_uuid_unique() (tests.apologies.test_rules.TestMove method)
test_constructor_with_name() (tests.apologies.test_game.TestPawn method)
test_copy() (tests.apologies.test_game.TestGame method)
(tests.apologies.test_game.TestPlayer method)
(tests.apologies.test_game.TestPlayerView method)
(tests.apologies.test_game.TestPosition method)
test_create_player_view() (tests.apologies.test_game.TestGame method)
test_create_player_view_invalid() (tests.apologies.test_game.TestGame method)
test_discard() (tests.apologies.test_engine.TestEngine method)
test_distance_to_home() (tests.apologies.test_rules.TestPosition method)
test_draw() (tests.apologies.test_engine.TestEngine method)
test_draw_again() (tests.apologies.test_rules.TestRules method)
test_draw_and_discard() (tests.apologies.test_game.TestDeck method)
test_empty_2_player_empty() (tests.apologies.test_render.TestRenderBoard method)
test_empty_3_player_empty() (tests.apologies.test_render.TestRenderBoard method)
test_empty_4_player_empty() (tests.apologies.test_render.TestRenderBoard method)
test_empty_game() (tests.apologies.test_reward.TestRewardCalculatorV1 method)
test_equivalent_state() (tests.apologies.test_reward.TestRewardCalculatorV1 method)
test_evaluate_move() (tests.apologies.test_rules.TestRules method)
test_example() (tests.apologies.test_cli.TestCli method)
test_execute_move() (tests.apologies.test_rules.TestRules method)
test_find_first_pawn_in_start() (tests.apologies.test_game.TestPlayer method)
test_get_pawn() (tests.apologies.test_game.TestPlayerView method)
test_home() (tests.apologies.test_render.TestRenderBoard method)
test_json_roundtrip() (tests.apologies.test_game.TestGame method)
test_left() (tests.apologies.test_render.TestRenderBoard method)
test_lookup_method() (tests.apologies.test_cli.TestCli method)
test_main() (tests.apologies.test_cli.TestCli method)
test_move_to_home() (tests.apologies.test_game.TestPosition method)
test_move_to_position_invalid_multiple() (tests.apologies.test_game.TestPosition method)
test_move_to_position_invalid_none() (tests.apologies.test_game.TestPosition method)
test_move_to_position_invalid_safe() (tests.apologies.test_game.TestPosition method)
test_move_to_position_invalid_square() (tests.apologies.test_game.TestPosition method)
test_move_to_position_valid_home() (tests.apologies.test_game.TestPosition method)
test_move_to_position_valid_safe() (tests.apologies.test_game.TestPosition method)
test_move_to_position_valid_square() (tests.apologies.test_game.TestPosition method)
test_move_to_position_valid_start() (tests.apologies.test_game.TestPosition method)
test_move_to_safe_invalid() (tests.apologies.test_game.TestPosition method)
test_move_to_safe_valid() (tests.apologies.test_game.TestPosition method)
test_move_to_square_invalid() (tests.apologies.test_game.TestPosition method)
test_move_to_square_valid() (tests.apologies.test_game.TestPosition method)
test_move_to_start() (tests.apologies.test_game.TestPosition method)
test_play_next_adult_draw_again() (tests.apologies.test_engine.TestEngine method)
test_play_next_adult_draw_again_complete() (tests.apologies.test_engine.TestEngine method)
test_play_next_adult_forfeit() (tests.apologies.test_engine.TestEngine method)
test_play_next_adult_illegal() (tests.apologies.test_engine.TestEngine method)
test_play_next_adult_legal() (tests.apologies.test_engine.TestEngine method)
test_play_next_completed() (tests.apologies.test_engine.TestEngine method)
test_play_next_failed() (tests.apologies.test_engine.TestEngine method)
test_play_next_standard_complete() (tests.apologies.test_engine.TestEngine method)
test_play_next_standard_draw_again() (tests.apologies.test_engine.TestEngine method)
test_play_next_standard_forfeit() (tests.apologies.test_engine.TestEngine method)
test_play_next_standard_illegal() (tests.apologies.test_engine.TestEngine method)
test_play_next_standard_legal() (tests.apologies.test_engine.TestEngine method)
test_range() (tests.apologies.test_reward.TestRewardCalculatorV1 method)
test_render() (tests.apologies.test_cli.TestRender method)
test_reset() (tests.apologies.test_engine.TestEngine method)
test_right() (tests.apologies.test_render.TestRenderBoard method)
test_safe_03() (tests.apologies.test_render.TestRenderBoard method)
test_safe_14() (tests.apologies.test_render.TestRenderBoard method)
test_safe_zone() (tests.apologies.test_reward.TestRewardCalculatorV1 method)
test_source_invalid() (tests.apologies.test_source.TestFunctions method)
test_source_unknown() (tests.apologies.test_source.TestFunctions method)
test_source_valid() (tests.apologies.test_source.TestFunctions method)
test_start_game() (tests.apologies.test_engine.TestEngine method)
test_start_game_adult() (tests.apologies.test_rules.TestRules method)
test_start_game_standard() (tests.apologies.test_rules.TestRules method)
test_start_game_started() (tests.apologies.test_rules.TestRules method)
test_started() (tests.apologies.test_engine.TestEngine method)
(tests.apologies.test_game.TestGame method)
test_str() (tests.apologies.test_game.TestHistory method)
test_top() (tests.apologies.test_render.TestRenderBoard method)
test_track_no_player() (tests.apologies.test_game.TestGame method)
test_track_with_color() (tests.apologies.test_game.TestGame method)
test_winner() (tests.apologies.test_engine.TestEngine method)
(tests.apologies.test_reward.TestRewardCalculatorV1 method)
TestAction (class in tests.apologies.test_rules)
TestCard (class in tests.apologies.test_game)
TestCharacter (class in tests.apologies.test_engine)
TestCircularQueue (class in tests.apologies.test_util)
TestCli (class in tests.apologies.test_cli)
TestDeck (class in tests.apologies.test_game)
TestEngine (class in tests.apologies.test_engine)
TestFunctions (class in tests.apologies.test_source)
TestGame (class in tests.apologies.test_game)
TestHistory (class in tests.apologies.test_game)
TestLegalMoves (class in tests.apologies.test_rules)
TestMove (class in tests.apologies.test_rules)
TestNoOpInputSource (class in tests.apologies.test_source)
TestPawn (class in tests.apologies.test_game)
TestPlayer (class in tests.apologies.test_game)
TestPlayerView (class in tests.apologies.test_game)
TestPosition (class in tests.apologies.test_game)
(class in tests.apologies.test_rules)
TestRandomInputSource (class in tests.apologies.test_source)
TestRender (class in tests.apologies.test_cli)
TestRenderBoard (class in tests.apologies.test_render)
TestRewardCalculatorV1 (class in tests.apologies.test_reward)
TestRewardV1InputSource (class in tests.apologies.test_source)
TestRules (class in tests.apologies.test_rules)
tests
module
tests.apologies
module
tests.apologies.test_cli
module
tests.apologies.test_engine
module
tests.apologies.test_game
module
tests.apologies.test_render
module
tests.apologies.test_reward
module
tests.apologies.test_rules
module
tests.apologies.test_source
module
tests.apologies.test_util
module
timestamp (apologies.game.History attribute)
,
[1]
to_json() (apologies.game.Game method)
track() (apologies.game.Game method)
TURN (in module apologies.game)
,
[1]
turns (apologies.game.Player attribute)
,
[1]
V
view (apologies.rules.Rules attribute)
W
winner (apologies.game.Game property)
winner() (apologies.engine.Engine method)
Y
YELLOW (apologies.game.PlayerColor attribute)
(in module tests.apologies.test_rules)
apologies
Navigation
API Reference
Related Topics
Documentation overview