2015-11-11から1日間の記事一覧
import java.io.*;public class Othello03 { static Player p1,p2,pw;//プレイヤー static int ban = { //盤面 0=無し 1=黒 2=白 3=置ける {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,0,0,1,2,0,0,0}, {0,0,0,2,1,0,0,0}, {0,0,0,0,0,0,0…
import java.io.*;public class Othello03 { static Player p1,p2,pw;//プレイヤー static int ban = { //盤面 0=無し 1=黒 2=白 3=置ける {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,0,0,1,2,0,0,0}, {0,0,0,2,1,0,0,0}, {0,0,0,0,0,0,0…