|
|
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 |
|
|
|
0a40e9ef2c
|
Change title and add semantic changes to dynamic messages.
|
2023-11-08 01:04:09 -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 |
|
|
|
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 |
|
|
|
ca3064dfda
|
Remove unnecessary conditionals from endGame
|
2023-11-07 21:35:33 -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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
caed7d3804
|
Write game function and successfully test it
|
2023-09-30 12:08:01 -06:00 |
|
|
|
c267800ab9
|
Fix syntax issues
|
2023-09-30 10:52:40 -06:00 |
|
|
|
1f986c09e7
|
Write playRound function and successfully test it
|
2023-09-30 10:47:14 -06:00 |
|
|
|
982c92bbf2
|
Write getCompChoice function and successfully test it and the prompt
|
2023-09-30 10:36:53 -06:00 |
|
|
|
a5537d23d2
|
Create skeleton of game
|
2023-09-30 10:23:21 -06:00 |
|
|
|
92a325157f
|
Add index.html, script.js and description to README
|
2023-09-30 09:48:46 -06:00 |
|