diff --git a/TODO.md b/TODO.md index 1001622..af62dbc 100644 --- a/TODO.md +++ b/TODO.md @@ -1,10 +1,5 @@ # Future Developments -* `[Easy Mode]` option: - show all attack paths of current queens on board - via change of square color. - -* add notice to this project from old - [attogram/8queens](https://github.com/attogram/8queens) repo - +* convert restart link into function that clears board and resets timer. +* if Show Attack Paths is on, then also show # of squares free and # of squares under attack. * restart timer if solved game becomes unsolved due to queen removal diff --git a/src/DidYouKnow.css b/src/DidYouKnow.css index 7ca5afd..9558477 100644 --- a/src/DidYouKnow.css +++ b/src/DidYouKnow.css @@ -1,5 +1,7 @@ .EightQueens-didyouknow { color: saddlebrown; - font-size: 14px; + font-family: "Times New Roman", serif; + font-size: 90%; margin: 5px 0 5px 0; + max-width: 500px; } diff --git a/src/EightQueens.css b/src/EightQueens.css index f012353..699d412 100644 --- a/src/EightQueens.css +++ b/src/EightQueens.css @@ -6,8 +6,10 @@ } .EightQueens-header { + align-items: center; display: flex; flex-direction: row; + justify-content: center; margin: 0 0 5px 0; } diff --git a/src/EightQueens.js b/src/EightQueens.js index d4cd320..f7c7eb8 100644 --- a/src/EightQueens.js +++ b/src/EightQueens.js @@ -13,7 +13,7 @@ import Title from './Title.js'; import queenUnderAttackSvg from './queenUnderAttack.svg'; const gameName = 'Eight Queens'; -const gameVersion = '0.4.0'; +const gameVersion = '0.4.1'; const gameHome = 'https://github.com/attogram/EightQueens'; class EightQueens extends Component { diff --git a/src/Status.css b/src/Status.css index de01885..3817a5d 100644 --- a/src/Status.css +++ b/src/Status.css @@ -1,6 +1,7 @@ .EightQueens-status { font-size: 14px; margin: 0 20px 0 0; + white-space: nowrap; } .EightQueens-playing {