-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
17 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,40 @@ | ||
# to do | ||
### game play | ||
- [] mouse over columns | ||
- [ ] mouse over column | ||
|
||
### game rules | ||
- what happens when both players connect 4 after a twist? | ||
- [ ] what happens when both players connect 4 after a twist? | ||
|
||
### ui | ||
- show whose move it is | ||
- show how much time it is | ||
- add "start new game" button with time option | ||
- [ ] show whose move it is | ||
- [ ] show how much time it is | ||
- [ ] add "start new game" button with time option | ||
|
||
### ki | ||
- name | ||
- functions that help the AI | ||
- getGameState >> return matrix | ||
- getLastMove >> return column (0-6) or turn left or turn right | ||
- rate game state >> return a number between 1(player 1 wins 100%) and 2(player 2 wins 100%) | ||
- heuristic used to evaluate a game state is: | ||
- [ ] name | ||
- [ ] functions that help the AI | ||
- [ ] getGameState >> return matrix | ||
- [ ] getLastMove >> return column (0-6) or turn left or turn right | ||
- [ ] rate game state >> return a number between 1(player 1 wins 100%) and 2(player 2 wins 100%) | ||
- [ ] heuristic used to evaluate a game state is: | ||
|
||
``` | ||
> Python | ||
(ia_fours * 100000 + ia_threes * 100 + ia_twos * 10) - (human_threes * 100 + human_twos * 10) + depth | ||
``` | ||
|
||
### code | ||
|
||
- [ ] modulate everything | ||
|
||
### improvements | ||
- give every field a unique id | ||
- [ ] give every field a unique id | ||
|
||
### bugs | ||
|
||
|
||
# done | ||
- [x] get rid of += className | ||
- color fields in player color | ||
- make moves, start at all zeroes | ||
- twist functions | ||
- write a history "player 1, player 2"-array of what moves have been made so far | ||
- [x] color fields in player color | ||
- [x] make moves, start at all zeroes | ||
- [x] twist functions | ||
- [x] write a history "player 1, player 2"-array of what moves have been made so far |