Commit Graph

11 Commits

Author SHA1 Message Date
f15898d29e Fixed king movements with regards to check detection 2019-07-02 20:40:28 +02:00
ba77a66e48 Added check detection
+ Position class and implementation (mostly pieces)
+ King position tracking, check detection and utility functions related
to Position in Board
2019-07-02 20:07:47 +02:00
616ed129a1 Fixed / added positional awareness in pawn movements 2019-07-02 15:16:18 +02:00
32446d4652 Added block checking to move validation
+ Move class
+ Utility methods in Board
+ isFreePath method in Piece with implementations in every subclass

- Pawn movement is still not fully implemented, including promotion, en
passant and movement over two tiles
2019-07-02 13:49:36 +02:00
bae5618f59 Added coordinate-based move validation
+ Simple input handler for testing purposes in BoardPanel
+ Abstract isValidMove method in Piece
+ Coordinate-based implementations of isValidMove in every subclass of
Piece
2019-07-01 21:46:30 +02:00
3aa54cea82 Added all other pieces and moved them into a separate package 2019-07-01 19:50:42 +02:00
b12c43fc8f Added pawn rendering
+ Initializing pawns in Board
+ Piece rendering in BoardPanel
- Fixed size initialization bug in BoardPanel
+ Pawn class
+ Color property in Piece
2019-07-01 19:37:15 +02:00
0e99db6a46 Preparing board implementation and rendering
+ Board class as data model
+ Texture loading code in BoardPanel
+ Abstract Piece class with Type enum
- Moved piece textures into res/pieces
- Changes TextureLoader to work directly with files
2019-07-01 19:08:37 +02:00
5300921149 Updated .project and .gitignore 2019-07-01 18:27:27 +02:00
73217d2b46 Added Eclipse project and basic class structure
+ Piece icons
+ TextureLoader
+ BoardPanel as a UI for the chess board
+ Chess as a main class
2019-07-01 18:26:43 +02:00
38b62a9595
Initial commit 2019-07-01 16:39:00 +02:00