-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
49 lines (43 loc) · 1.74 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<!DOCTYPE html>
<head>
<title>Trolley with Friends</title>
<meta name="description" content="Experience an (un)ethical dillema with your friends... on the tracks.">
<meta name="keywords" content="philosophy,game,facebook,friends,trolley problem">
<meta name="author" content="Piotr Migdał et al.">
<meta charset="utf-8">
<meta property='og:title' content="Trolley with Friends">
<meta property='og:url' content="http://p.migdal.pl/trolleython/">
<meta property='og:description' content="Experience an (un)ethical dillema with your friends... on the tracks.">
<!-- <meta property='og:image' content="https://stared.github.io/tagoverflow/screenshot_dev.png"> -->
<link rel="stylesheet" type="text/css" href="main.css">
<script src="https://d3js.org/d3.v4.min.js"></script>
<script src="https://cdn.jsdelivr.net/lodash/4.17.4/lodash.min.js"></script>
<script src="main.js"></script>
</head>
<body>
<script>
window.fbAsyncInit = function() {
FB.init({
appId : '357486187955599',
xfbml : true,
version : 'v2.8'
});
FB.AppEvents.logPageView();
};
(function(d, s, id){
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
<button onclick="myFacebookLogin()">Login with Facebook and get good friends</button>
<h2>Make a choice!</h2>
<div id="text-choices"></div>
<div id="friend-list-users"></div>
<div id="friend-list-invitable"></div>
<!--
<h2>Make choice</h2>
<svg id="game" width="800" height="600"></svg> -->
</body>