I hereby claim:
- I am swatto on github.
- I am gaelgillard (https://keybase.io/gaelgillard) on keybase.
- I have a public key ASDjrPQqCogVRzR6logQBgjyQY0oMsdmXcgabU8dtHKSPAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>Why forms, Why!</title> | |
</head> | |
<body> | |
<form> | |
<input type="text" autofocus> |
var Jeu = function() { | |
var joueur_score = 0; | |
var ordinateur_score = 0; | |
this.initialize = function() { | |
update_score(); | |
document.querySelector('form').addEventListener('submit', fight); | |
}; | |
var fight = function(ev) { |