Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
2a014cb
project initialised and dependencies installed
joelamb Oct 2, 2018
aadd46c
Google map set up
joelamb Oct 2, 2018
ca8bb26
fetch data, shuffle and deal hands
joelamb Oct 3, 2018
fc370f6
render cards
joelamb Oct 3, 2018
86f165b
basic card styling for mobile
joelamb Oct 3, 2018
81bf276
refactor data clean
joelamb Oct 3, 2018
e92be27
click handler on card
joelamb Oct 3, 2018
fc15c1f
calculate winner
joelamb Oct 3, 2018
6e04731
save roundResult in state
joelamb Oct 3, 2018
2654ca0
advance round with win or lose result
joelamb Oct 3, 2018
726fc2a
parse vehicle property data as integers
joelamb Oct 3, 2018
b3c7304
next round advance
joelamb Oct 3, 2018
ed37ade
rearrange player and computer cards for next round
joelamb Oct 3, 2018
067aa05
card deal test (incomplete)
joelamb Oct 4, 2018
c2d9b0f
winner/loser result
joelamb Oct 4, 2018
9391566
play again
joelamb Oct 4, 2018
5f6b833
refactor data cleaning and test string to number
joelamb Oct 4, 2018
9d1af5e
simplify conditional render logic
joelamb Oct 4, 2018
9a0b7ef
round result message
joelamb Oct 4, 2018
d00094b
refactoring
joelamb Oct 4, 2018
d48fe6c
scoreboard data
joelamb Oct 4, 2018
fcdf32a
start screen initialise
joelamb Oct 4, 2018
d492d9f
Start screen and EndScreen
joelamb Oct 4, 2018
66854b0
conditional load of start screen
joelamb Oct 4, 2018
e7ce31e
MVP
joelamb Oct 4, 2018
9850f7d
styling
joelamb Oct 4, 2018
3ff567c
disable start until data is ready
joelamb Oct 4, 2018
1281343
fonts
joelamb Oct 4, 2018
f97804b
Endscreen
joelamb Oct 4, 2018
356fb47
include time factor in score
joelamb Oct 4, 2018
7b393b4
recalculate hi score
joelamb Oct 4, 2018
75d641b
hi score with timing
joelamb Oct 4, 2018
e5e778c
leaderboard scores
joelamb Oct 4, 2018
1c58262
MVP play your cards right
joelamb Oct 5, 2018
a8f3401
assets
joelamb Oct 5, 2018
08264dd
start page styling
joelamb Oct 5, 2018
c7bd137
gameplay styling
joelamb Oct 5, 2018
135712b
ready for demo
joelamb Oct 5, 2018
72f79c1
refactoring
joelamb Oct 8, 2018
040c1e6
debugging
joelamb Oct 8, 2018
d422ccf
handle bids in separate component
joelamb Oct 8, 2018
70aac86
abstract next round button
joelamb Oct 8, 2018
f50d3b9
refactoring and styling
joelamb Oct 8, 2018
ac11f6a
tests
joelamb Oct 8, 2018
d0aaca0
tetests
joelamb Oct 12, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{
}
37 changes: 22 additions & 15 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link rel="stylesheet" href="./style.css">
<title>YouJuke</title>
</head>
<body>
<div className="container">
<div id="root"></div>
</div>
<script src="dist/bundle.js"></script>
<script src="https://www.youtube.com/iframe_api"></script>
</body>
</html>

<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU"
crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css?family=Vast+Shadow" rel="stylesheet">
<link rel="stylesheet" href="./style.css">
<title>YouJuke</title>
</head>

<body>
<div className="container">
<div id="root"></div>
</div>
<script src="dist/bundle.js"></script>
<script src="https://www.youtube.com/iframe_api"></script>
</body>

</html>
Loading