Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions Source/Tree/tree_builder.lua
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,8 @@ end
-- @local
function PokerTreeBuilder:_get_children_nodes(parent_node)

--is this a transition call node (leading to a chance node)?
local call_is_transit = parent_node.current_player == constants.players.P2 and parent_node.bets[1] == parent_node.bets[2] and parent_node.street < constants.streets_count

local chance_node = parent_node.current_player == constants.players.chance
--transition call -> create a chance node
--terminal node has no children
if parent_node.terminal then
return {}
--chance node
Expand Down