This repository has been archived by the owner on Jan 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ALPHA-TODO.txt
68 lines (65 loc) · 2.01 KB
/
ALPHA-TODO.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
Task List
=========
[X] Create new game from specification file
[X] Read specification file (provided already implemented)
[X] Create new game
[X] Create *a* game
[X] Store specifications to game
[X] Rules/board size
[X] Locations
[ ] Pieces (not necessary for Alpha)
[X] makeCoordinate (coordinate creation for SQUARE coordinates. Board independent)
[X] Make a coordinate and return it
[X] makeCoordinate doesn't always return null
[X] Coordinate.DistanceTo (Board independent)
[X] Returns a value
[X] Returns a correct value
[X] Horizontal line
[X] Away from origin
[X] Toward origin
[X] Vertical line
[X] Away from origin
[X] Toward origin
[X] Diagonal line
[X] Away from origin
[X] Toward origin
[X] Non-straight path
[X] Away from origin
[X] Toward origin
[X] Out of bounds coordinate
[X] Throw exception if invalid provided Coordinate
[X] Coordinate can be made independent of board (no out of bounds)
[X] getPieceAt
[X] Return a non-null value
[X] Return piece at coordinate
[X] Return piece if present
[X] Return null if no piece
[X] Return null for invalid coordinate
[X] Move piece from one location to another
[X] Return a value
[X] Valid moves
[X] Destination is empty
[X] Return TRUE
[X] Destination is an EXIT
[X] Return TRUE
[X] Remove piece
[X] Destination has opponent's piece
[X] Return TRUE
[X] Replace opponent's piece with piece being moved
[X] Destination is same as source
[X] Return TRUE
[X] Piece stays
[X] Remove piece from source
[X] Put piece on destination
[X] Change player turn
[X] Works for coordinate that hasn't been made with same manager
[X] Invalid moves
[X] Either coordinate is NULL
[X] No piece on source
[X] Destination is a BLOCK
[X] Destination and source aren't out of bounds
[X] Destination has moving player's piece
[X] Trying to other player's piece
[X] Piece ISN'T removed from source
[X] Piece ISN'T put on destination
[X] DON'T change player turn