Add tags

Add tags to the following comment

1行ミスってました。コピペはいけませんね・・・。あらためて

player1 won:    5826
player2 won:    2857
draw :  1317

という感じです。

1
2
3
4
5
6
7
8
9
@@ -4,7 +4,7 @@
   protected val field = new Array[Array[char]](size,size)
   val len = size*size
   val lines = _stline((v,v2) => (v,v2))++_stline((v,v2) => (v2,v))++
-              List(((size-1).until(-1,-1)).map(v=>(v,v))) ++
+              List(((size-1).until(-1,-1)).map(v=> (v,(size-1-v)))) ++
               List((0 until size).map(v=>(v,v)))

   def _stline(f:(int,int) => Pair[int,int]) =

Add tags

The input will be splited to tags with space.

Index

Feed

Other

Link

Pathtraq

loading...