Guest User

Untitled

a guest
Sep 24th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. <html>
  2. <script type="text/javascript">
  3. /*
  4. *alternative_board:ボードを定義するクラス
  5. *@row:縦,col:横
  6. *@this.board:○×の判定 0:何も置かれていない(default) 1:player1(○) 2:player2(×)
  7. *@author Ryuichi Matsumoto
  8. *@date 2012.4.8
  9. */
  10. function alternative_board()
  11. {
  12. this.board =[['0','0','0','0','0'],['0','0','0','0','0'],['0','0','0','0','0'],['0','0','0','0','0'],['0','0','0','0','0']] ;
  13. }
  14. var Board = new alternative_board();
  15. </script>
  16. </html>
Add Comment
Please, Sign In to add comment