diff --git a/simon-says/debug.log b/simon-says/debug.log index 1ec9ba1db3cb28e5224bd77c07aca6822f03d6fb..afc1ca05e8c629a24d2ac5b4e444b3143256dde3 100644 --- a/simon-says/debug.log +++ b/simon-says/debug.log @@ -167,3 +167,25 @@ [0831/110742.197:ERROR:crash_report_database_win.cc(469)] failed to stat report [0831/110742.197:ERROR:crash_report_database_win.cc(469)] failed to stat report [0831/110742.197:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0902/132649.420:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0902/132649.420:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0902/132649.420:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0902/132649.421:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0902/132649.421:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0902/132649.421:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0902/132649.421:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0902/132649.421:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0902/132649.421:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0902/132649.421:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0902/132649.421:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0902/132649.421:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0902/132649.421:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0902/132649.421:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0902/132649.421:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0902/132649.421:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0902/132649.421:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0902/132649.421:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0902/132649.421:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0902/132649.421:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0902/132649.421:ERROR:crash_report_database_win.cc(469)] failed to stat report +[0902/132649.422:ERROR:crash_report_database_win.cc(469)] failed to stat report diff --git a/simon-says/src/features/patternGen/buttonLayout.css b/simon-says/src/features/patternGen/buttonLayout.css index 89c20e2149dccdb38bce1ba97b24e15a7b8fb08f..f0697b9d3eddf3d608f54d29893de59c32eedf9e 100644 --- a/simon-says/src/features/patternGen/buttonLayout.css +++ b/simon-says/src/features/patternGen/buttonLayout.css @@ -1,3 +1,9 @@ +.title{ + font-size: 1.5em; + width: 100%; + left: 10em; + right: 10em; +} .redbutton{ background-color: #f44336; border: none; diff --git a/simon-says/src/features/patternGen/patternGeneration.js b/simon-says/src/features/patternGen/patternGeneration.js index dac1a12b4ed7d4dea6b398ca250efbdf7364fd9a..cf4768274f8a80ac20341a61710e46b5d0586eed 100644 --- a/simon-says/src/features/patternGen/patternGeneration.js +++ b/simon-says/src/features/patternGen/patternGeneration.js @@ -5,16 +5,20 @@ export function Pattern() { return ( <main> <div> - <button class = "redbutton"> - </button> - <button class = "bluebutton"> - </button> - <button class = 'yellowbutton'> - - </button> - <button class = 'greenbutton'> - - </button> + <blockquote class = 'title'> + Simon Says + </blockquote> + <blockquote> + Score: 0 + </blockquote> + <button class = "redbutton"> + </button> + <button class = "bluebutton"> + </button> + <button class = 'yellowbutton'> + </button> + <button class = 'greenbutton'> + </button> </div> </main> ); diff --git a/simon-says/src/features/patternGen/patternSlice.js b/simon-says/src/features/patternGen/patternSlice.js index 6430c5c107827803c9e9cee0a8f2bfc9bc9dd224..c9caa6ada0461545ca434f2fea6e8473cb10df0d 100644 --- a/simon-says/src/features/patternGen/patternSlice.js +++ b/simon-says/src/features/patternGen/patternSlice.js @@ -4,7 +4,8 @@ const patternSlice = createSlice({ name: 'pattern', initialState: { borderState: 0, - patternList: [] + patternList: [], + score: 0, }, reducers: { },