diff --git a/README.md b/README.md index 53c36c9..63ddd29 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,10 @@ A simple HTML+JS implementation of the game. You can play at https://ctrl-escp.github.io/tick-tack-toe/ ## TODO -- [ ] Game timer +- [x] Game timer - [ ] Save statistics to localStorage - [ ] Customize colors - [ ] 1 vs. computer - [ ] Show continuous score for both players - - [ ] Let users name their players \ No newline at end of file + - [ ] Let users name their players +- [ ] Random starting player? \ No newline at end of file diff --git a/index.html b/index.html index aa69ab2..128c415 100644 --- a/index.html +++ b/index.html @@ -100,16 +100,24 @@ background-color: var(--dialog-background-color); color: var(--dialog-font-color); } + [role="button"] { + &:active { + transform: translate(2px, 2px); + animation: tranform 0.2s ease; + } + }