chart = {
d3.selectAll("#coup_droit").on("click", function () {
console.log('coup droit')
});
d3.selectAll("#revers").on("click", function () {
console.log('revers')
console.log(d3.selectAll("#joueurA").property("value"))
});
d3.selectAll("#point_joueurA").on("click", function () {
console.log({author:d3.selectAll("#joueurA").property("value"),body:"point"})
sendMessage({author:d3.selectAll("#joueurA").property("value"),body:"point"})
});
d3.selectAll("#point_joueurB").on("click", function () {
console.log({author:d3.selectAll("#joueurB").property("value"),body:"point"})
sendMessage({author:d3.selectAll("#joueurB").property("value"),body:"point"})
});
d3.selectAll("#service_joueurA").on("click", function () {
console.log({author:d3.selectAll("#joueurA").property("value"),body:"service"})
sendMessage({author:d3.selectAll("#joueurA").property("value"),body:"service"})
});
d3.selectAll("#service_joueurB").on("click", function () {
console.log({author:d3.selectAll("#joueurB").property("value"),body:"service"})
sendMessage({author:d3.selectAll("#joueurB").property("value"),body:"service"})
});
d3.selectAll("#coup_droit_joueurA").on("click", function () {
console.log({author:d3.selectAll("#joueurA").property("value"),body:"coup_droit"})
sendMessage({author:d3.selectAll("#joueurA").property("value"),body:"coup_droit"})
});
d3.selectAll("#coup_droit_joueurB").on("click", function () {
console.log({author:d3.selectAll("#joueurB").property("value"),body:"coup_droit"})
sendMessage({author:d3.selectAll("#joueurB").property("value"),body:"coup_droit"})
});
d3.selectAll("#revers_joueurA").on("click", function () {
console.log({author:d3.selectAll("#joueurA").property("value"),body:"revers"})
sendMessage({author:d3.selectAll("#joueurA").property("value"),body:"revers"})
});
d3.selectAll("#revers_joueurB").on("click", function () {
console.log({author:d3.selectAll("#joueurB").property("value"),body:"revers"})
sendMessage({author:d3.selectAll("#joueurB").property("value"),body:"revers"})
});
d3.selectAll("#D1_joueurA").on("click", function () {
console.log({author:d3.selectAll("#joueurA").property("value"),body:"D1"})
sendMessage({author:d3.selectAll("#joueurA").property("value"),body:"D1"})
});
d3.selectAll("#M1_joueurA").on("click", function () {
console.log({author:d3.selectAll("#joueurA").property("value"),body:"M1"})
sendMessage({author:d3.selectAll("#joueurA").property("value"),body:"M1"})
});
d3.selectAll("#G1_joueurA").on("click", function () {
console.log({author:d3.selectAll("#joueurA").property("value"),body:"G1"})
sendMessage({author:d3.selectAll("#joueurA").property("value"),body:"G1"})
});
d3.selectAll("#D2_joueurA").on("click", function () {
console.log({author:d3.selectAll("#joueurA").property("value"),body:"D2"})
sendMessage({author:d3.selectAll("#joueurA").property("value"),body:"D2"})
});
d3.selectAll("#M2_joueurA").on("click", function () {
console.log({author:d3.selectAll("#joueurA").property("value"),body:"M2"})
sendMessage({author:d3.selectAll("#joueurA").property("value"),body:"M2"})
});
d3.selectAll("#G2_joueurA").on("click", function () {
console.log({author:d3.selectAll("#joueurA").property("value"),body:"G2"})
sendMessage({author:d3.selectAll("#joueurA").property("value"),body:"G2"})
});
d3.selectAll("#D3_joueurA").on("click", function () {
console.log({author:d3.selectAll("#joueurA").property("value"),body:"D3"})
sendMessage({author:d3.selectAll("#joueurA").property("value"),body:"D3"})
});
d3.selectAll("#M3_joueurA").on("click", function () {
console.log({author:d3.selectAll("#joueurA").property("value"),body:"M3"})
sendMessage({author:d3.selectAll("#joueurA").property("value"),body:"M3"})
});
d3.selectAll("#G3_joueurA").on("click", function () {
console.log({author:d3.selectAll("#joueurA").property("value"),body:"G3"})
sendMessage({author:d3.selectAll("#joueurA").property("value"),body:"G3"})
});
d3.selectAll("#D1_joueurB").on("click", function () {
console.log({author:d3.selectAll("#joueurB").property("value"),body:"D1"})
sendMessage({author:d3.selectAll("#joueurB").property("value"),body:"D1"})
});
d3.selectAll("#M1_joueurB").on("click", function () {
console.log({author:d3.selectAll("#joueurB").property("value"),body:"M1"})
sendMessage({author:d3.selectAll("#joueurB").property("value"),body:"M1"})
});
d3.selectAll("#G1_joueurB").on("click", function () {
console.log({author:d3.selectAll("#joueurB").property("value"),body:"G1"})
sendMessage({author:d3.selectAll("#joueurB").property("value"),body:"G1"})
});
d3.selectAll("#D2_joueurB").on("click", function () {
console.log({author:d3.selectAll("#joueurB").property("value"),body:"D2"})
sendMessage({author:d3.selectAll("#joueurB").property("value"),body:"D2"})
});
d3.selectAll("#M2_joueurB").on("click", function () {
console.log({author:d3.selectAll("#joueurB").property("value"),body:"M2"})
sendMessage({author:d3.selectAll("#joueurB").property("value"),body:"M2"})
});
d3.selectAll("#G2_joueurB").on("click", function () {
console.log({author:d3.selectAll("#joueurB").property("value"),body:"G2"})
sendMessage({author:d3.selectAll("#joueurB").property("value"),body:"G2"})
});
d3.selectAll("#D3_joueurB").on("click", function () {
console.log({author:d3.selectAll("#joueurB").property("value"),body:"D3"})
sendMessage({author:d3.selectAll("#joueurB").property("value"),body:"D3"})
});
d3.selectAll("#M3_joueurB").on("click", function () {
console.log({author:d3.selectAll("#joueurB").property("value"),body:"M3"})
sendMessage({author:d3.selectAll("#joueurB").property("value"),body:"M3"})
});
d3.selectAll("#G3_joueurB").on("click", function () {
console.log({author:d3.selectAll("#joueurB").property("value"),body:"G3"})
sendMessage({author:d3.selectAll("#joueurB").property("value"),body:"G3"})
});
d3.selectAll("#filet_joueurA").on("click", function () {
console.log({author:d3.selectAll("#joueurA").property("value"),body:"filet"})
sendMessage({author:d3.selectAll("#joueurA").property("value"),body:"filet"})
});
d3.selectAll("#filet_joueurB").on("click", function () {
console.log({author:d3.selectAll("#joueurB").property("value"),body:"filet"})
sendMessage({author:d3.selectAll("#joueurB").property("value"),body:"filet"})
});
d3.selectAll("#dehors_joueurA").on("click", function () {
console.log({author:d3.selectAll("#joueurA").property("value"),body:"dehors"})
sendMessage({author:d3.selectAll("#joueurA").property("value"),body:"dehors"})
});
d3.selectAll("#dehors_joueurB").on("click", function () {
console.log({author:d3.selectAll("#joueurB").property("value"),body:"dehors"})
sendMessage({author:d3.selectAll("#joueurB").property("value"),body:"dehors"})
});
d3.selectAll("#point_joueurA2").on("click", function () {
console.log({author:d3.selectAll("#joueurA2").property("value"),body:"point"})
sendMessage({author:d3.selectAll("#joueurA2").property("value"),body:"point"})
});
d3.selectAll("#point_joueurB2").on("click", function () {
console.log({author:d3.selectAll("#joueurB2").property("value"),body:"point"})
sendMessage({author:d3.selectAll("#joueurB2").property("value"),body:"point"})
});
d3.selectAll("#service_joueurA2").on("click", function () {
console.log({author:d3.selectAll("#joueurA2").property("value"),body:"service"})
sendMessage({author:d3.selectAll("#joueurA2").property("value"),body:"service"})
});
d3.selectAll("#service_joueurB2").on("click", function () {
console.log({author:d3.selectAll("#joueurB2").property("value"),body:"service"})
sendMessage({author:d3.selectAll("#joueurB2").property("value"),body:"service"})
});
d3.selectAll("#coup_droit_joueurA2").on("click", function () {
console.log({author:d3.selectAll("#joueurA2").property("value"),body:"coup_droit"})
sendMessage({author:d3.selectAll("#joueurA2").property("value"),body:"coup_droit"})
});
d3.selectAll("#coup_droit_joueurB2").on("click", function () {
console.log({author:d3.selectAll("#joueurB2").property("value"),body:"coup_droit"})
sendMessage({author:d3.selectAll("#joueurB2").property("value"),body:"coup_droit"})
});
d3.selectAll("#revers_joueurA2").on("click", function () {
console.log({author:d3.selectAll("#joueurA2").property("value"),body:"revers"})
sendMessage({author:d3.selectAll("#joueurA2").property("value"),body:"revers"})
});
d3.selectAll("#revers_joueurB2").on("click", function () {
console.log({author:d3.selectAll("#joueurB2").property("value"),body:"revers"})
sendMessage({author:d3.selectAll("#joueurB2").property("value"),body:"revers"})
});
d3.selectAll("#D1_joueurA2").on("click", function () {
console.log({author:d3.selectAll("#joueurA2").property("value"),body:"D1"})
sendMessage({author:d3.selectAll("#joueurA2").property("value"),body:"D1"})
});
d3.selectAll("#M1_joueurA2").on("click", function () {
console.log({author:d3.selectAll("#joueurA2").property("value"),body:"M1"})
sendMessage({author:d3.selectAll("#joueurA2").property("value"),body:"M1"})
});
d3.selectAll("#G1_joueurA2").on("click", function () {
console.log({author:d3.selectAll("#joueurA2").property("value"),body:"G1"})
sendMessage({author:d3.selectAll("#joueurA2").property("value"),body:"G1"})
});
d3.selectAll("#D2_joueurA2").on("click", function () {
console.log({author:d3.selectAll("#joueurA2").property("value"),body:"D2"})
sendMessage({author:d3.selectAll("#joueurA2").property("value"),body:"D2"})
});
d3.selectAll("#M2_joueurA2").on("click", function () {
console.log({author:d3.selectAll("#joueurA2").property("value"),body:"M2"})
sendMessage({author:d3.selectAll("#joueurA2").property("value"),body:"M2"})
});
d3.selectAll("#G2_joueurA2").on("click", function () {
console.log({author:d3.selectAll("#joueurA2").property("value"),body:"G2"})
sendMessage({author:d3.selectAll("#joueurA2").property("value"),body:"G2"})
});
d3.selectAll("#D3_joueurA2").on("click", function () {
console.log({author:d3.selectAll("#joueurA2").property("value"),body:"D3"})
sendMessage({author:d3.selectAll("#joueurA2").property("value"),body:"D3"})
});
d3.selectAll("#M3_joueurA2").on("click", function () {
console.log({author:d3.selectAll("#joueurA2").property("value"),body:"M3"})
sendMessage({author:d3.selectAll("#joueurA2").property("value"),body:"M3"})
});
d3.selectAll("#G3_joueurA2").on("click", function () {
console.log({author:d3.selectAll("#joueurA2").property("value"),body:"G3"})
sendMessage({author:d3.selectAll("#joueurA2").property("value"),body:"G3"})
});
d3.selectAll("#D1_joueurB2").on("click", function () {
console.log({author:d3.selectAll("#joueurB2").property("value"),body:"D1"})
sendMessage({author:d3.selectAll("#joueurB2").property("value"),body:"D1"})
});
d3.selectAll("#M1_joueurB2").on("click", function () {
console.log({author:d3.selectAll("#joueurB2").property("value"),body:"M1"})
sendMessage({author:d3.selectAll("#joueurB2").property("value"),body:"M1"})
});
d3.selectAll("#G1_joueurB2").on("click", function () {
console.log({author:d3.selectAll("#joueurB2").property("value"),body:"G1"})
sendMessage({author:d3.selectAll("#joueurB2").property("value"),body:"G1"})
});
d3.selectAll("#D2_joueurB2").on("click", function () {
console.log({author:d3.selectAll("#joueurB2").property("value"),body:"D2"})
sendMessage({author:d3.selectAll("#joueurB2").property("value"),body:"D2"})
});
d3.selectAll("#M2_joueurB2").on("click", function () {
console.log({author:d3.selectAll("#joueurB2").property("value"),body:"M2"})
sendMessage({author:d3.selectAll("#joueurB2").property("value"),body:"M2"})
});
d3.selectAll("#G2_joueurB2").on("click", function () {
console.log({author:d3.selectAll("#joueurB2").property("value"),body:"G2"})
sendMessage({author:d3.selectAll("#joueurB2").property("value"),body:"G2"})
});
d3.selectAll("#D3_joueurB2").on("click", function () {
console.log({author:d3.selectAll("#joueurB2").property("value"),body:"D3"})
sendMessage({author:d3.selectAll("#joueurB2").property("value"),body:"D3"})
});
d3.selectAll("#M3_joueurB2").on("click", function () {
console.log({author:d3.selectAll("#joueurB2").property("value"),body:"M3"})
sendMessage({author:d3.selectAll("#joueurB2").property("value"),body:"M3"})
});
d3.selectAll("#G3_joueurB2").on("click", function () {
console.log({author:d3.selectAll("#joueurB2").property("value"),body:"G3"})
sendMessage({author:d3.selectAll("#joueurB2").property("value"),body:"G3"})
});
d3.selectAll("#filet_joueurA2").on("click", function () {
console.log({author:d3.selectAll("#joueurA2").property("value"),body:"filet"})
sendMessage({author:d3.selectAll("#joueurA2").property("value"),body:"filet"})
});
d3.selectAll("#filet_joueurB2").on("click", function () {
console.log({author:d3.selectAll("#joueurB2").property("value"),body:"filet"})
sendMessage({author:d3.selectAll("#joueurB2").property("value"),body:"filet"})
});
d3.selectAll("#dehors_joueurA2").on("click", function () {
console.log({author:d3.selectAll("#joueurA2").property("value"),body:"dehors"})
sendMessage({author:d3.selectAll("#joueurA2").property("value"),body:"dehors"})
});
d3.selectAll("#dehors_joueurB2").on("click", function () {
console.log({author:d3.selectAll("#joueurB2").property("value"),body:"dehors"})
sendMessage({author:d3.selectAll("#joueurB2").property("value"),body:"dehors"})
});
}