<!DOCTYPE HTML>
<html>
<head>
<title>Configurate</title>
<meta charset="UTF-8">
<script>
var NAME="configurate";
var SECRET="mypassword";
<!-- Contest Officials: Please configurate here. -->
</script>
<script>
function contestant() {
var x = document.getElementById("judge").value;
document.getElementById("transcript").innerHTML = "You typed: " + x + "";
}
</script>
</head>
<body>
<div id="transcript" style="overflow-y: scroll; height:200px;width: 40%;"></div>
<input id="judge" style="width: 40%;" type="text"
onkeydown="contestant(this.value);"
onkeyup="contestant(this.value);">
</input>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>Chatbot</title>
<script>
function chatbot()
{
var record = [
'Hi There!',
'Hello.',
'Greetings.',
];
var index = Math.floor(Math.random()*record.length);
return "<h1>"+record[index]+"</h1>";
}
</script>
</head>
<body>
<h2>Chatbot</h2>
<button type="button"
onclick="document.getElementById('transcript').innerHTML = chatbot()">
Say Hello.</button>
<div id="transcript"></div>
</body>
</html>
-- configurate
CREATE TABLE configurations (parameter1 integer, parameter2 integer);
-- configure
INSERT INTO TABLE configurations values (1,2);
The organisers of the Loebner Prize literally can not patch every contestant's code into the server, because the organisers are not experts in every programming language that the entrants use. Only one or two entries are in Javascript that could directly be patched into the server, but others are in C, C++, Java, Python, and whatever AIML is written in.