Skip to content

Commit 65a7c70

Browse files
committed
Cleanup
1 parent 12da72b commit 65a7c70

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

engine/fen.go

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,6 @@ import (
99

1010
const (
1111
defaultFEN = "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"
12-
13-
// defaultFEN = "r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq -"
14-
15-
// defaultFEN = "k7/8/K7/8/7p/7P/8/8 w - - 0 1" // only kings
16-
// defaultFEN = "8/7K/5k2/7P/8/8/8/8 w - - 7 15" // repetitions
17-
// defaultFEN = "6k1/8/6KP/8/8/8/8/8 w - - 7 15" // repetitions
18-
19-
// defaultFEN = "r7/8/8/2k5/5K2/8/8/7R - - 49 1" // repetitions
20-
21-
// defaultFEN = "r1bqkb1r/ppp1pppp/1nnp4/4P3/2P5/2N2N2/PP1PQPPP/R1B1KB1R b KQkq - 1 6" // leads to a thrid rook for black
22-
// defaultFEN = "rnbqkbnr/3p1ppp/p3p3/1pp3B1/3PP3/2N2N2/PPP2PPP/R2QKB1R b KQkq - 1 5" // thinks it's check but isn't
2312
)
2413

2514
func generateFEN(board *Board) string {

gochess.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@ package main
33
import "github.com/fdomig/gochess/engine"
44

55
func main() {
6-
g := engine.NewGame()
7-
g.Run()
6+
engine.NewGame().Run()
87
}

0 commit comments

Comments
 (0)