Skip to content

Commit

Permalink
Update todo.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tweakimp authored Apr 18, 2017
1 parent a84a3e2 commit bd74723
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions todo.md
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

0 comments on commit bd74723

Please sign in to comment.