Skip to content

Commit

Permalink
starting position list WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Jun 8, 2015
1 parent 047d0f4 commit 3f0fd21
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/main/scala/StartingPosition.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package chess

case class StartingPosition(
eco: String,
name: String,
fen: String)

object StartingPosition {

val all = List(
StartingPosition("B01", "Black has no pawns!", "rnbqkbnr/8/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"),
StartingPosition("C02", "White has no pawns!", "rnbqkbnr/pppppppp/8/8/8/8/8/RNBQKBNR w KQkq - 0 1")
)
}

0 comments on commit 3f0fd21

Please sign in to comment.