diff --git a/othello/templates/games/help.html b/othello/templates/games/help.html index da8d5f52..648ee3e9 100644 --- a/othello/templates/games/help.html +++ b/othello/templates/games/help.html @@ -10,8 +10,7 @@
-
+
def choose_move(board, player, still_running, time_limit):
# Implement this method
return 0
@@ -25,8 +24,9 @@
def best_strategy(self, board, player, best_move, still_running, time_limit):
move = choose_move(board, player, still_running, time_limit)
- best_move.value = move
-
+ best_move.value = move
+
+
If you would like to be provided with a 10x10 board instead of the default 8x8 board, you can add a uses_10x10_board
variable to your strategy class.
- This variable works the same way as the logging
variable, in that it must be an attribute of the Strategy
class and will default to False
if omitted.
+ This will surround the 8x8 board with an additional layer of '?'
characters, as shown below.
+ Similar to the logging
variable, uses_10x10_board
must be an attribute of the Strategy
class and will default to False
if omitted.
- You can also use a similar uses_10x10_moves
variable to signify that your submitted best_move.value
refers to indices in this 10x10 board.
- If not used, the server will assume that your best_move.value
refers to indices in the default 8x8 board.
+ You can also use the uses_10x10_moves
variable to signify that your submitted best_move.value
refers to indices in this 10x10 board representation.
+ If not used, the server will assume that your best_move.value
refers to indices in the default 8x8 board, irrespective of whether or not uses_10x10_board
is enabled.