You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a625a64
Browse filesBrowse the repository at this point in the historyBrowse files
summary:"Drop discs into seven columns and connect four in any direction.".into(),
98
98
engine_version:env!("CARGO_PKG_VERSION").into(),
99
-
info_version:"1.0.0".into(),
99
+
info_version:"1.1.0".into(),
100
100
num_players:[2,2],
101
101
seat_names:vec!["Red".into(),"Yellow".into()],
102
102
turn_structure:TurnStructure::Sequential,
@@ -118,7 +118,7 @@ impl Game for Connect4 {
118
118
Some(gfa_core::PlayGuide{
119
119
objective:"Connect four of your discs horizontally, vertically, or diagonally to win. A full board without a winner draws. Play stops immediately on a win.".into(),
120
120
observation:"Text and JSON rows run top to bottom; columns 1..7 run left to right. R is Red (seat 0), Y is Yellow (seat 1), and . is empty. JSON rows contains six rows of seven cells (null, 0, or 1); to_move is the next seat. Both seats and spectators see the entire board.".into(),
121
-
tensor:"No tensor representation is supplied by this engine.".into(),
121
+
tensor:"Float32 [3,6,7], planes first, rows top to bottom: Red discs, Yellow discs, and next seat (all 0 for Red or 1 for Yellow).".into(),
122
122
rewards:"Terminal returns are +1 for the winner, -1 for the loser, and 0 each for a draw. Returns before termination are 0. Shaped rewards are not supported.".into(),
123
123
config:"No configurable fields. Use {} for the standard 7-column, 6-row board.".into(),
124
124
solved:"Solved: the first player can force a win on the standard board.".into(),
0 commit comments