2016-05-23 21:18:31 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="fr">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<meta name="author" content="Gnieark" />
|
|
|
|
<title>Test ton bot</title>
|
|
|
|
<style type="text/css">
|
|
|
|
body{
|
|
|
|
width:100%;
|
|
|
|
font-size:100%;
|
|
|
|
line-height:140%;
|
|
|
|
word-wrap:break-word;
|
|
|
|
text-rendering:optimizelegibility;
|
|
|
|
margin:0 auto;
|
|
|
|
font-family : "lucida grande", "gill sans", arial, sans-serif;
|
|
|
|
left:auto;
|
|
|
|
}
|
|
|
|
header{
|
|
|
|
background-color:#A60800;
|
|
|
|
width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
header h1{
|
|
|
|
display: block;
|
|
|
|
font-size:300%;
|
|
|
|
color:#FFF;float: left;
|
|
|
|
margin-left: 5%;}
|
|
|
|
|
|
|
|
header nav{
|
|
|
|
display: block;
|
|
|
|
width: 45%;
|
|
|
|
color:#FFF;
|
|
|
|
float: right;
|
|
|
|
|
|
|
|
}
|
|
|
|
#menus{
|
|
|
|
margin-left: 50px;
|
|
|
|
width:100%;
|
|
|
|
display: table;
|
|
|
|
}
|
|
|
|
#menus a{
|
|
|
|
color: #fff;
|
|
|
|
display: table-cell;
|
|
|
|
text-decoration: none;
|
|
|
|
text-align: center;
|
|
|
|
border-radius: 15px 15px 0px 0px;
|
|
|
|
}
|
|
|
|
#menus a.selected{
|
|
|
|
color:#202020;
|
|
|
|
background-color:#fff;
|
|
|
|
}
|
|
|
|
footer{
|
|
|
|
height: 70px;
|
|
|
|
display: block;
|
|
|
|
color: #343638;
|
|
|
|
font-size: 11pt;
|
|
|
|
line-height: 15pt;
|
|
|
|
margin: 0;
|
|
|
|
padding-top: 15pt;
|
|
|
|
overflow-x: hidden;
|
|
|
|
box-sizing: border-box;
|
|
|
|
background-image: -webkit-linear-gradient(top, #f5f5f5,#e9e9e9);
|
|
|
|
border-top: 1px solid #bebebe;
|
|
|
|
color: #999;
|
|
|
|
font-size: 12px;
|
|
|
|
line-height: 1.5em;
|
|
|
|
text-align: center;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
footer a {
|
|
|
|
margin:0px 15px 0px 15px;
|
|
|
|
color: #666;
|
|
|
|
text-decoration: none;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
#languages{
|
|
|
|
float: right;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
section{
|
|
|
|
margin: 0 auto;
|
|
|
|
width: 90%;
|
|
|
|
}
|
|
|
|
article{
|
|
|
|
float: right;
|
|
|
|
width:70%;
|
|
|
|
}
|
|
|
|
aside{
|
|
|
|
float:left;
|
|
|
|
width: 28%;
|
|
|
|
border-right: 1px dashed green;
|
|
|
|
}
|
|
|
|
.center{text-align: center;}
|
|
|
|
aside p img{ width: 100%; max-width:342px;}
|
|
|
|
form textarea, form input, form select {width:40%;}
|
|
|
|
form input[type=checkbox], form input[type=radio] { width:15px; }
|
|
|
|
form label {
|
|
|
|
float:left;
|
|
|
|
width:40%;
|
|
|
|
margin-right:0.5em;
|
|
|
|
padding-top:0.2em;
|
|
|
|
text-align:right;
|
|
|
|
}
|
|
|
|
pre{
|
|
|
|
font-style: normal;
|
|
|
|
font-size: 16px;
|
|
|
|
margin-left: 32px;
|
|
|
|
font-family: Consolas, "Times New Roman", Verdana;
|
|
|
|
border-left: 4px solid #CCC;
|
|
|
|
padding-left: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
</style>
|
|
|
|
<script>
|
|
|
|
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<header>
|
|
|
|
<h1>Debug and test your connectFour AI</h1>
|
|
|
|
</header>
|
|
|
|
<section>
|
|
|
|
<aside>
|
|
|
|
<h2>Configure the test</h2>
|
|
|
|
<p> Player 1
|
|
|
|
<select name="player1Type">
|
|
|
|
<option value="bot">bot</option>
|
|
|
|
<option value="human">human</option>
|
|
|
|
</select>
|
|
|
|
<input type="text" name="player1URL" placeholder="url du bot http://localhost"/>
|
|
|
|
</p>
|
|
|
|
<p> Player 2
|
|
|
|
<select name="player2Type">
|
|
|
|
<option value="human">human</option>
|
|
|
|
<option value="bot">bot</option>
|
|
|
|
|
|
|
|
</select>
|
|
|
|
<input type="text" name="player2URL" placeholder="url du bot http://localhost"/>
|
|
|
|
</p>
|
|
|
|
<p><input type="button" onclick="startGame()" value="Fight"/></p>
|
|
|
|
</aside>
|
|
|
|
</section>
|
|
|
|
<footer>
|
|
|
|
<a href="/p/About">About</a><a href="https://github.com/gnieark/botsArena">Bots'Arena source code</a><a href="/p/legals">Mentions légales</a>
|
|
|
|
</footer>
|
|
|
|
</body>
|
|
|
|
</html>
|