Name
Author
Password (must match the one you created with when editing)
Code , <a href="http://Mazda-Fog-Lights.needspeedcars.info/index.html">Mazda Fog Lights </a>[url="http://Mazda-Fog-Lights.needspeedcars.info/index.html"]Mazda Fog Lights [/url]http://Mazda-Fog-Lights.needspeedcars.info/index.html Mazda Fog Lights vubfol, <a href="http://Volkswagen.needspeedcars.info/index.html">Volkswagen </a>[url="http://Volkswagen.needspeedcars.info/index.html"]Volkswagen [/url]http://Volkswagen.needspeedcars.info/index.html Volkswagen edm, <a href="http://Geo-Side-Mirror.needspeedcars.info/index.html">Geo Side Mirror </a>[url="http://Geo-Side-Mirror.needspeedcars.info/index.html"]Geo Side Mirror [/url]http://Geo-Side-Mirror.needspeedcars.info/index.html Geo Side Mirror :-PP, <a href="http://Plymouth-Lights.needspeedcars.info/index.html">Plymouth Lights </a>[url="http://Plymouth-Lights.needspeedcars.info/index.html"]Plymouth Lights [/url]http://Plymouth-Lights.needspeedcars.info/index.html Plymouth Lights 0338, Use Codepress Syntax Highlighting
API Your code runs in the context of the "Board", when the game system requires that your algorithm make a move. The following methods are available: moves() - returns an array of MoveWrapper objects which have the methods (x_pos, y_pos, is_x?) make_move!(x,y) - make a move. This must be called exactly once. move_matrix() - returns a matrix of the board moves like so [["x","",""],["o","","o"],["x","x",""]] turn() - returns either "x" or "o" depending on whose turn it is (it is always your turn) log_info(message), log_error(message) - display logging information in the board history
moves()
make_move!(x,y)
move_matrix()
turn()
log_info(message), log_error(message)