Steve Barnegren
|
ff497add25
|
Game informs delegate of individual operation updates
|
2016-11-27 12:42:27 +00:00 |
|
Steve Barnegren
|
56f66752ed
|
Give pieces tag property so that they can be associated with UI elements
|
2016-11-26 09:10:53 +00:00 |
|
Steve Barnegren
|
1a5deb4640
|
Add BoardRaterCountPieces
|
2016-11-26 08:26:54 +00:00 |
|
Steve Barnegren
|
e8eaa43208
|
Fixed issues with tests not running
|
2016-11-24 18:28:16 +00:00 |
|
Steve Barnegren
|
659cd71623
|
Add count pieces board rater
|
2016-11-24 18:24:44 +00:00 |
|
Steve Barnegren
|
dc065280df
|
Human and AIPlayer inherit from Player class
|
2016-11-24 08:13:44 +00:00 |
|
Steve Barnegren
|
80ed966539
|
Get rid of some old cocoa pods stuff in example project
|
2016-11-23 22:51:14 +00:00 |
|
Steve Barnegren
|
cf763cc7b1
|
Move tests to framework project
|
2016-11-23 22:49:38 +00:00 |
|
Steve Barnegren
|
b52e47e8b5
|
Remove example project reliance on Cocoapods
|
2016-11-23 22:44:40 +00:00 |
|
Steve Barnegren
|
6a599c6159
|
Fix compilation error
|
2016-11-23 21:36:21 +00:00 |
|
Steve Barnegren
|
e2145ba10f
|
Added board methods to check if player is in check mate
|
2016-10-20 17:46:43 +01:00 |
|
Steve Barnegren
|
c75b517c48
|
Added build script to make TODOs warnings
|
2016-10-18 22:21:51 +01:00 |
|
Steve Barnegren
|
850811cef2
|
move functions throw errors for non-valid moves
|
2016-10-18 22:16:59 +01:00 |
|
Steve Barnegren
|
03dec77766
|
Able to test if player is in check
|
2016-10-18 20:50:37 +01:00 |
|
Steve Barnegren
|
727b04729a
|
Add board functions for filtering pieces and refactor tests
|
2016-10-18 09:22:43 +01:00 |
|
Steve Barnegren
|
6c76133f4f
|
Update to suggested build settings
|
2016-10-13 22:05:01 +01:00 |
|
Steve Barnegren
|
8b6da72754
|
Add pawn ability to take opponent pieces diagonally
|
2016-10-13 21:54:02 +01:00 |
|
Steve Barnegren
|
0b80ee1806
|
Players can take it in turn to move
|
2016-10-13 20:55:49 +01:00 |
|
Steve Barnegren
|
9f5cfac50a
|
White player now able to move in example project
|
2016-10-13 19:14:53 +01:00 |
|
Steve Barnegren
|
9029c75669
|
Slight refactoring of game
|
2016-10-11 22:46:45 +01:00 |
|
Steve Barnegren
|
33a347b482
|
Make PieceType enum nested type
|
2016-10-11 21:44:08 +01:00 |
|
Steve Barnegren
|
09ea19f203
|
Add more tests for Board
|
2016-10-11 21:41:45 +01:00 |
|
Steve Barnegren
|
3517e5ad6a
|
Slight refactor of Board to make initialisation easier
|
2016-10-11 19:41:53 +01:00 |
|
Steve Barnegren
|
4a32c4c7e8
|
Tests for bishop movement
|
2016-10-08 18:23:03 +01:00 |
|
Steve Barnegren
|
aefbbff556
|
Implement rook movement
|
2016-10-08 18:17:49 +01:00 |
|
Steve Barnegren
|
3ed4408073
|
Added tests for queen movement
|
2016-10-08 18:12:42 +01:00 |
|
Steve Barnegren
|
b68edc49ff
|
Fix a bunch of incorrect // MARK: syntax
|
2016-10-08 17:58:44 +01:00 |
|
Steve Barnegren
|
d5754e0522
|
Add basic pawn movement
|
2016-10-08 17:47:49 +01:00 |
|
Steve Barnegren
|
1739f4a081
|
Implement king movement
|
2016-10-08 17:30:36 +01:00 |
|
Steve Barnegren
|
dab760fb19
|
Added tests to catch invalid moves for diagonal movement
|
2016-10-08 17:04:01 +01:00 |
|
Steve Barnegren
|
786c49e27d
|
Refactor tests to be more concise and easier to read
|
2016-10-08 16:59:30 +01:00 |
|
Steve Barnegren
|
a262b94443
|
Fixed bugs in calculating piece movement - All tests pass
|
2016-10-08 15:31:27 +01:00 |
|
Steve Barnegren
|
e722aa561f
|
Fix tests referencing swift 2 method signatures
|
2016-10-08 14:48:13 +01:00 |
|
Steve Barnegren
|
7c9272a3e0
|
A few more tests and upgraded to swift 3
|
2016-09-22 21:12:39 +01:00 |
|
Steve Barnegren
|
3fa1213429
|
Tests and fixes for Straight line and diagonal piece movement
|
2016-09-20 22:13:47 +01:00 |
|
Steve Barnegren
|
ecf35701d7
|
Added basic movement logic
|
2016-09-04 23:10:10 +01:00 |
|
Steve Barnegren
|
773e818d6c
|
Show piece positions on board using UILabel
|
2016-09-04 19:29:27 +01:00 |
|
Steve Barnegren
|
9b686908a7
|
Added board and piece structs
|
2016-09-04 18:25:08 +01:00 |
|
Steve Barnegren
|
96065d09cd
|
Initial commit
|
2016-09-04 15:16:58 +01:00 |
|
Steve Barnegren
|
cc884bcda6
|
Initial commit
|
2016-09-04 15:14:33 +01:00 |
|