Skip to content

Commit

Permalink
v1.1
Browse files Browse the repository at this point in the history
- Added Google Analytics
- Added New Outcomes
- Fixed UI errors in List Component
  • Loading branch information
Thisaru Mahadurage committed Feb 24, 2020
1 parent d4ec2e4 commit 902666f
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 7 deletions.
1 change: 1 addition & 0 deletions src/app/list/list.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
border: 1px solid #ffffff;
padding: 1rem;
border-radius: 10px;
margin-top: 1rem;
}
24 changes: 18 additions & 6 deletions src/assets/json/outcomes.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,26 @@
[
{
"title": "Ruthy",
"description": "Cross-group local pricing structure"
"title": "Grenade",
"description": "Every other player should draw one card except the player"
},
{
"title": "Garreth",
"description": "Configurable directional structure"
"title": "Picker",
"description": "Next player should pick one card from Player's Hand. Next Player skips turn"
},
{
"title": "Jobyna",
"description": "Synergistic even-keeled database"
"title": "Draw 2",
"description": "Next player Draw 2 Cards. Next Player skips turn"
},
{
"title": "Snipe",
"description": "Choose anyone to Draw 2 Cards"
},
{
"title": "Suicide Bomber",
"description": "You draw 2 cards"
},
{
"title": "Switcher",
"description": "Choose any 2 players and swap where they sit"
}
]
12 changes: 11 additions & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8">
<title>UNO Randomizer - Random outcome for your UNO Blank Cards</title>
<title>UNO Randomizer - Random rules for your UNO Blank Cards</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Revolutionize your UNO Blank Cards with UNO Randomizer. We chose the outcome for your Blank Cards. With the latest UNO Game by Mattel, you get 4 Blank Cards so you can assign your own rules. Why ruin the blank cards with one specified outcome when you can have many outcomes chosen out of random? This is a web application to randomize an outcome for your UNO blank cards. There are default outcomes pre-loaded with the app. You can add your own outcome too. Have fun! Don't forget to share this with your friends.">
Expand All @@ -14,5 +14,15 @@
</head>
<body>
<app-root></app-root>

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-158962541-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'UA-158962541-1');
</script>
</body>
</html>

0 comments on commit 902666f

Please sign in to comment.