Commit graph

57 commits

Author SHA1 Message Date
37639091b4 Add button styles 2023-12-31 19:14:29 -07:00
91a6881ef3 Fix background image to page 2023-12-31 18:59:03 -07:00
62cd11cffc Adjust body background image styles 2023-12-31 18:10:23 -07:00
fb27080244 Add button styles and turn off repeat for background image 2023-12-31 17:59:50 -07:00
16c9e33854 Change background color, add button shadow, remove unnecessary spaces 2023-12-31 17:53:57 -07:00
c8bfb70e00 Add text and button styes for better readability 2023-12-31 17:28:37 -07:00
0f5528f328 Add fonts and move styles to styles folder 2023-12-31 16:45:41 -07:00
373c0adf6c Change class and add styles for replay button 2023-12-31 16:06:22 -07:00
b5f29e21c7 Add background images to buttons 2023-12-31 16:02:51 -07:00
932dad8728 Remove unnecessary spaces 2023-12-31 15:48:12 -07:00
45239a9254 Adjust structure of page, add background image 2023-12-28 21:32:29 -07:00
c2cd07a005 Update README 2023-11-08 08:23:40 -07:00
e5c519363b Change background color 2023-11-08 07:31:46 -07:00
69f877c361 Edit formatting, fix rounds reset 2023-11-08 02:08:57 -07:00
abfdbf97d7 Add functionality for counting and resetting rounds 2023-11-08 02:02:58 -07:00
329920601b Add new div and extra text to msg when players tie 2023-11-08 01:56:49 -07:00
7edde3e168 Change background color, remove outline* 2023-11-08 01:14:48 -07:00
a3c4014679 Change background color 2023-11-08 01:06:06 -07:00
0a40e9ef2c Change title and add semantic changes to dynamic messages. 2023-11-08 01:04:09 -07:00
1fb70f766b Add margin 2023-11-08 00:34:08 -07:00
9ee116f1f0 Add game reset functionality 2023-11-08 00:20:16 -07:00
089bb290e7 Add button to play newGame 2023-11-08 00:05:03 -07:00
ab8f3491e0 Change header font size 2023-11-07 23:29:27 -07:00
d74d5b45b7 Change msg font-size 2023-11-07 23:11:37 -07:00
c95509a187 Add classes and styles; fix working in player win case 2023-11-07 23:01:07 -07:00
69ccd75efa Remove unnecessary comments 2023-11-07 22:40:43 -07:00
b5ae51cbdd Remove unnecessary comments 2023-11-07 22:40:11 -07:00
c34fc827e6 Remove unnecessary text 2023-11-07 22:32:41 -07:00
ebbdf7cb73 Add child divs back to score and dynamically add tally to divs 2023-11-07 22:30:37 -07:00
1b9f3ea828 Move all messages to DOM and remove child divs in score 2023-11-07 22:18:03 -07:00
a3dc9d8c3c Add endgame message to DOM 2023-11-07 22:10:15 -07:00
6056f880ec Move tie case to default 2023-11-07 21:58:19 -07:00
9a9d8a0f81 Remove word from title and get rid of unnecessary condition in playRound 2023-11-07 21:54:51 -07:00
48d5ef651c Add divs and stylesheet 2023-11-07 21:47:51 -07:00
ca3064dfda Remove unnecessary conditionals from endGame 2023-11-07 21:35:33 -07:00
3c37c3447e Reorder buttons 2023-11-07 21:27:05 -07:00
0a63032994 move endGame logic into new function 2023-11-07 21:24:44 -07:00
1a4d888ad8 Move game initiation to the start of program and change score variables 2023-11-07 20:33:42 -07:00
dde5da3174 Move event listener outside of function and start game within event listener 2023-11-07 20:28:51 -07:00
8648596c05 Get buttons to respond 2023-11-07 17:34:34 -07:00
4301364cbb Add getPlayerChoice function 2023-11-07 14:52:42 -07:00
6aac048765 Add buttons 2023-11-07 14:49:30 -07:00
a7393453cd Remove text 2023-11-07 12:49:17 -07:00
1f78d6c2ed Move console messages from playRound to game and add running tally 2023-11-07 12:45:15 -07:00
b51cc86282 Change for loop to while loop in game 2023-11-07 12:19:52 -07:00
97fb86c4b5 Change all console messages to return statements in game() 2023-09-30 13:21:04 -06:00
565ab3c772 Add title and instructions to HTML page 2023-09-30 13:11:35 -06:00
d7714b419f Remove console logs from switch statement and add final console messages to game() 2023-09-30 12:59:56 -06:00
feffa79f60 Add console messages to playRound() 2023-09-30 12:33:29 -06:00
1e72cffbff Update README 2023-09-30 12:15:54 -06:00