<<< prev block block 329227 next block >>>
+------------------------------------------------------------------+
| THIBA - Things/Texts Hidden In Bitcoin Addresses readme >>> |
+------------------------------------------------------------------+
| hash160 | decoded text |
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 06bd293b57172438d44bab0cc566e366f4fc9e0c69bef3b9a4fef90a931e753c |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 207661722064656c61795265616374696f6e203d | var delayReaction =
| 204d6174682e72616e646f6d28293b0d0a0d0a20 | Math.random();
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 085ad9431188f0623873cd2bb500e698a2fd39515b4f4fe3af3bcb1108abc036 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 200d0a2020202020202020202020202020202020 |
| 2020207d0d0a0d0a202020202020202020202020 | }
| 202020202020202066756e6374696f6e20726563 | function rec
| 7428782c20792c20772c206829207b0d0a202020 | t(x, y, w, h) {
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 09467109c67218969bf893f773de8d853c7c71d69cd01c8c3e6485ac2642f64b |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 20205749445448203d2063616e7661732e776964 | WIDTH = canvas.wid
| 74683b0d0a202020202020202020202020202020 | th;
| 202020202020202020484549474854203d206361 | HEIGHT = ca
| 6e7661732e6865696768743b0d0a202020202020 | nvas.height;
| 202020202020202020202020202020202020696e | in
| 69745f706164646c657328293b0d0a2020202020 | it_paddles();
| 202020202020202020202020202020202020200d |
| 0a20202020202020202020202020202020202020 |
| 20202020206478203d2031202b204d6174682e66 | dx = 1 + Math.f
| 6c6f6f72284d6174682e72616e646f6d2829202a | loor(Math.random() *
| 2033293b0d0a0d0a202020202020202020202020 | 3);
| 20202020202020202020202069662028706c6179 | if (play
| 65724f6e65203e20706c6179657254776f29207b | erOne > playerTwo) {
| 0d0a202020202020202020202020202020202020 |
| 202020202020202020206478203d202d64783b0d | dx = -dx;
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 11e21260d03c6d7f0e7846246fe06b3136f07e8e7e1c5832f6f049a366c4c91a |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 2020207d0d0a2020202020202020202020202020 | }
| 202020202020202020207d0d0a0d0a2020202020 | }
| 2020202020202020202020202020202020202065 | e
| 6c73652069662028706c6179657254776f557029 | lse if (playerTwoUp)
| 207b0d0a20202020202020202020202020202020 | {
| 20202020202020202020202069662028706c6179 | if (play
| 657254776f506164646c65202d2035203e3d2030 | erTwoPaddle - 5 >= 0
| 29207b0d0a202020202020202020202020202020 | ) {
| 2020202020202020202020202020202020706c61 | pla
| 79657254776f506164646c65202d3d20353b0d0a | yerTwoPaddle -= 5;
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 135fd2952664199f5e14d2feb67ee133d3978f8154e5e7826ec3c6877ef65d2a |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 2020202020656c7365207b0d0a20202020202020 | else {
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 1a118cc4a5d44dcf04820c3aa28cca4d0933eb756aa4bbb9996534738803b9df |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 2020202069662028706c6179657254776f506164 | if (playerTwoPad
| 646c65202d2035203e3d203029207b0d0a202020 | dle - 5 >= 0) {
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 1b0be4ac5e2f35bc0ca7e1cf9ffdecb14b70375eae83a43bdd93ca075546bb7a |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 202020202079203d20706c6179657254776f5061 | y = playerTwoPa
| 64646c65202b2028706164646c6568202f203229 | ddle + (paddleh / 2)
| 3b0d0a2020202020202020202020202020202020 | ;
| 20202020202020202020207d0d0a202020202020 | }
| 2020202020202020202020202020202020207d0d | }
| 0a0d0a0d0a202020202020202020202020202020 |
| 20202020202020202069662028706c6179657243 | if (playerC
| 6f756e74203d3d20312920706c6179657254776f | ount == 1) playerTwo
| 42616c6c414928293b0d0a202020202020202020 | BallAI();
| 2020202020202020202020202020206966202870 | if (p
| 6c61796572436f756e74203d3d2033290d0a0909 | layerCount == 3)
| 4f6e6542616c6c414928293b0d0a090909202020 | OneBallAI();
| 20706c6179657254776f42616c6c414928293b0d | playerTwoBallAI();
| 2020202020202020202020202020202064726177 | draw
| 536964654c696e657328293b0d0a202020202020 | SideLines();
| 2020202020202020202020202020202020207265 | re
| 6374285749445448202d20706164646c65772c20 | ct(WIDTH - paddlew,
| 706c617965724f6e65506164646c652c20706164 | playerOnePaddle, pad
| 646c65772c20706164646c6568293b0d0a202020 | dlew, paddleh);
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 1b6bae99058514458385a6f07f131015c78b5343742d4de956baa4eca1d58998 |
+------------------------------------------------------------------+
| 3b0d0a2020202020202020202020202020202020 | ;
| 2020202020202076617220696d61676558203d20 | var imageX =
| 285749445448202f203229202d2028696d616765 | (WIDTH / 2) - (image
| 5769647468202f2032293b0d0a20202020202020 | Width / 2);
| 2020202020202020202020202020202020766172 | var
| 20696d61676559203d2028484549474854202f20 | imageY = (HEIGHT /
| 3229202d2028696d616765486569676874202f20 | 2) - (imageHeight /
| 32293b0d0a202020202020202020202020202020 | 2);
| 2020202020202020206374782e64726177496d61 | ctx.drawIma
| 676528696d6167654f626a2c20696d616765582c | ge(imageObj, imageX,
| 20696d61676559293b0d0a202020202020202020 | imageY);
| 202020202020202020202020202020202020696d | im
| 6167654f626a2e737263203d20272e2e2f303632 | ageObj.src = '../062
| 3939306435343034356139633331363131306662 | 990d54045a9c316110fb
| 3731333030396431333133623266363463346232 | 713009d1313b2f64c4b2
| 3136643636383931633732383464366331636130 | 16d66891c7284d6c1ca0
| 652f626974666f7373696c2e706e67273b0d0a0d | e/bitfossil.png';
| 0a0d0a2020202020202020202020202020202020 |
| 20202066756e6374696f6e20636972636c652878 | function circle(x
| 2c20792c207229207b0d0a202020202020202020 | , y, r) {
| 2020202020202020202020202020206374782e62 | ctx.b
| 6567696e5061746828293b0d0a20202020202020 | eginPath();
| 2020202020202020202020202020202020637478 | ctx
| 2e61726328782c20792c20722c20302c204d6174 | .arc(x, y, r, 0, Mat
| 682e5049202a20322c2074727565293b0d0a2020 | h.PI * 2, true);
| 2020202020202020202020202020202020202020 |
| 20206374782e636c6f73655061746828293b0d0a | ctx.closePath();
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 2191add956add6f70315220af4fa2a265e3f2f21e16f02662594e944b763dbba |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 20202020202020202020202020207d0d0a202020 | }
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 23ff6523d6dca1330101cc0d0f6df063f8c70af354fd9ec9f07c520e8c9a83ea |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 2020706164646c6577203d2032303b0d0a202020 | paddlew = 20;
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 2637a713768d21123c91edbf5c89f103c4566d4bf722f3d8fada39b8286bd20c |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 20706c617965724f6e65506164646c65203d2048 | playerOnePaddle = H
| 4549474854202f2032202d2028706164646c6568 | EIGHT / 2 - (paddleh
| 202f2032293b0d0a202020202020202020202020 | / 2);
| 202020202020202020202020706c617965725477 | playerTw
| 6f506164646c65203d20706c617965724f6e6550 | oPaddle = playerOneP
| 2020202020202020202020202020202020202066 | f
| 756e6374696f6e20696e69742829207b0d0a2020 | unction init() {
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 270da939ee108c75c3020cd81400691efe1804a306281afd9131066ecfd5ddee |
+------------------------------------------------------------------+
| 0a20202020202020202020202020202020202020 |
| 2020202020696e74657276616c4964203d20303b | intervalId = 0;
| 0d0a202020202020202020202020202020202020 |
| 2020202020206374782e666f6e74203d20223330 | ctx.font = "30
| 707820417269616c223b0d0a2020202020202020 | px Arial";
| 20202020202020202020202020202020696e7465 | inte
| 7276616c4964203d20736574496e74657276616c | rvalId = setInterval
| 28647261772c2032202b204d6174682e666c6f6f | (draw, 2 + Math.floo
| 72284d6174682e72616e646f6d2829202a203429 | r(Math.random() * 4)
| 20202020202020207d0d0a0d0a20202020202020 | }
| 2020202020202020202020202066756e6374696f | functio
| 6e2064726177496d61676528696d6167654f626a | n drawImage(imageObj
| 29207b0d0a202020202020202020202020202020 | ) {
| 20202020202020202076617220696d6167655769 | var imageWi
| 647468203d20696d6167654f626a2e7769647468 | dth = imageObj.width
| 3b0d0a2020202020202020202020202020202020 | ;
| 2020202020202076617220696d61676548656967 | var imageHeig
| 6874203d20696d6167654f626a2e686569676874 | ht = imageObj.height
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 2d93c0fe7a2c0df9621bc34b9921c4a1f6ffaa4be03b478074d2ace4927b2dba |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 2f224d593e318fda3b8a76c0aced2d24ed2401bca1973ee8c510ef1d64e3603f |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 206374782e626567696e5061746828293b0d0a20 | ctx.beginPath();
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 2f2a2ba3442fa3f1754105eb696884fd3e3787fdf76c39abd60ce3aac1132ab7 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 2020202020202020202020207d0d0a2020202020 | }
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 30b61b0a80950a61a27f4ea55486f647524692159c4651f2db65990d9b5ed27b |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 202020206374782e66696c6c5465787428706c61 | ctx.fillText(pla
| 7965724f6e652c20285749445448202f2032202b | yerOne, (WIDTH / 2 +
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 3109f8a7379cc4b95d609468a4f623d32e66f9d6cba06338fd00dbb2ba5ceb40 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 696620284d6174682e6162732879202d20706c61 | if (Math.abs(y - pla
| 79657254776f506164646c6529203c204d617468 | yerTwoPaddle) < Math
| 2e6162732879202d20706c6179657254776f5061 | .abs(y - playerTwoPa
| 64646c65202d20706164646c65682929207b0d0a | ddle - paddleh)) {
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 329d78c6c08237a8059aa42953d97c3f2199184dc600534b358df3f561451065 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 2020202020202020207d0d0a0d0a202020202020 | }
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 344af170c6f07764c85f9a5804a572028f94b34df889e537d276ce54b53543ce |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 2020202020656c7365207b0d0a20202020202020 | else {
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 37050aaa92575139723f852b857367d93fc576da4b3f15ad602ff2587a0daa7c |
+------------------------------------------------------------------+
| 20202020202020202020202020202020656c7365 | else
| 20696620286576742e6b6579436f6465203d3d20 | if (evt.keyCode ==
| 35312920706c61796572436f756e74203d20333b | 51) playerCount = 3;
| 0d0a202020202020202020202020202020202020 |
| 202020202020656c736520696620286576742e6b | else if (evt.k
| 6579436f6465203d3d20313329207b0d0a202020 | eyCode == 13) {
| 2020202020202020202020202020202020202020 |
| 2020202020706c617965724f6e65203d20303b0d | playerOne = 0;
| 0a20202020202020202020202020202020202020 |
| 202020202020202020706c6179657254776f203d | playerTwo =
| 20303b0d0a202020202020202020202020202020 | 0;
| 20202020202020202020202020636c656172496e | clearIn
| 74657276616c28696e74657276616c4964293b0d | terval(intervalId);
| 0a090909202020206374782e66696c6c5374796c | ctx.fillStyl
| 65203d202723303030303030273b0d0a09090920 | e = '#000000';
| 202020726164697573203d2031303b0d0a202020 | radius = 10;
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 3aa8d78fb07c20087013bf53c9bf7f94f821472e6003caf5e0a9a0df375adb89 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 7d0d0a0d0a202020202020202020202020202020 | }
| 2020202020202020202020202020202020656c73 | els
| 65207b0d0a0d0a20202020202020202020202020 | e {
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 3be20e658a4a3ab341f63ee92ea1625651d559d2895ff3eb6a07112885384d07 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 202020202020202020202020202020202020656c | el
| 7365207b0d0a2020202020202020202020202020 | se {
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 3be2f2604215024caa7d952b28f89f9bd540dff68c9606a834162a0dfdbb45d1 |
+------------------------------------------------------------------+
| 0a20202020202020202020202020202020202020 |
| 20202020202020202078203d205749445448202d | x = WIDTH -
| 20706164646c6577202d207261646975733b0d0a | paddlew - radius;
| 2020202020202020202020202020202020202020 |
| 202020207d0d0a20202020202020202020202020 | }
| 2020202020202020202020656c7365207b0d0a20 | else {
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 3ce2d634b38435bdeadd0bc7ddc4523ea486140fd0add7bb0c44e1dc53facf19 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 202069662028706c617965724f6e65506164646c | if (playerOnePaddl
| 65202d2035203e3d203029207b0d0a2020202020 | e - 5 >= 0) {
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 3e26f8db92472f0bb9f153b9ffadff403b8cd9ee950f22179348115d126fa204 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 2020202020202020202020207d0d0a0d0a202020 | }
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 42a9b6956d7c66cf49465cd7ba8156470c8d306069b85ae7689cbc14b6d4fc1b |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 4342ed6d4474c30638bf63d192439dc5495c2140eb4198f9f99327c327f37733 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 20202020207d0d0a202020202020202020202020 | }
| 2020202020202020202020207d0d0a0d0a202020 | }
| 20202020202020202020202020202020207d0d0a | }
| 0d0a202020202020202020202020202020202020 |
| 202066756e6374696f6e2064726177536964654c | function drawSideL
| 696e65732829207b0d0a20202020202020202020 | ines() {
| 20202020202020202020202020206374782e6265 | ctx.be
| 67696e5061746828293b0d0a2020202020202020 | ginPath();
| 202020202020202020202020202020206374782e | ctx.
| 7265637428302c20302c2057494454482c203130 | rect(0, 0, WIDTH, 10
| 293b0d0a20202020202020202020202020202020 | );
| 20202020202020206374782e636c6f7365506174 | ctx.closePat
| 6828293b0d0a2020202020202020202020202020 | h();
| 202020202020202020206374782e66696c6c2829 | ctx.fill()
| 3b0d0a0d0a202020202020202020202020202020 | ;
| 2020202020202020206374782e626567696e5061 | ctx.beginPa
| 746828293b0d0a20202020202020202020202020 | th();
| 20202020202020202020206374782e7265637428 | ctx.rect(
| 302c20484549474854202d2031302c2057494454 | 0, HEIGHT - 10, WIDT
| 482c20484549474854293b0d0a20202020202020 | H, HEIGHT);
| 2020202020202020202020202020202020637478 | ctx
| 2e636c6f73655061746828293b0d0a2020202020 | .closePath();
| 2020202020202020202020202020202020202063 | c
| 74782e66696c6c28293b0d0a2020202020202020 | tx.fill();
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 43cbd29a465b3b0814f0259132840b09a2cd2997810b719f7e6f8d861071eb55 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 202020656c736520696620286576742e6b657943 | else if (evt.keyC
| 6f6465203d3d20333229207061757365203d2066 | ode == 32) pause = f
| 616c73653b0d0a20202020202020202020202020 | alse;
| 2020202020202020202020656c73652069662028 | else if (
| 6576742e6b6579436f6465203d3d203438292064 | evt.keyCode == 48) d
| 617a7a6c65203d20747275653b0d0a090909656c | azzle = true; el
| 736520696620286576742e6b6579436f6465203d | se if (evt.keyCode =
| 3d2036362920726164697573203d2031202b204d | = 66) radius = 1 + M
| 6174682e666c6f6f72284d6174682e72616e646f | ath.floor(Math.rando
| 6d2829202a203530293b0d0a2020202020202020 | m() * 50);
| 20202020202020202020202020202020656c7365 | else
| 20696620286576742e6b6579436f6465203d3d20 | if (evt.keyCode ==
| 34392920706c61796572436f756e74203d20313b | 49) playerCount = 1;
| 0d0a202020202020202020202020202020202020 |
| 202020202020656c736520696620286576742e6b | else if (evt.k
| 6579436f6465203d3d2035302920706c61796572 | eyCode == 50) player
| 436f756e74203d20323b0d0a2020202020202020 | Count = 2;
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 469fa6a6c6ae9d6162ceae5ada8767c171ad4ead736159c91bae02148b46e65d |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 69662028706c617965724f6e65446f776e29207b | if (playerOneDown) {
| 0d0a202020202020202020202020202020202020 |
| 2020202020202020202069662028706c61796572 | if (player
| 4f6e65506164646c65202b20706164646c656820 | OnePaddle + paddleh
| 2b2035203c3d2048454947485429207b0d0a2020 | + 5 <= HEIGHT) {
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 4719b2c65d3a79c1e20bf37b5fd13199d6e892363fe432fda4236201eb05b899 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 20202020202020207d0d0a202020202020202020 | }
| 2020202020202020202020202020207d0d0a0d0a | }
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 4822794e028d3d3afd4d70f974a8b038ed4ba9ef4ac3ef38dea39b31d03f58c2 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 49203bb506a365d1e856e6e216c0139828a77ba39a46fed05b810b3e4b0a06e2 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020207661 | va
| 7220706c6179657254776f5570203d2066616c73 | r playerTwoUp = fals
| 653b0d0a20202020202020202020202020202020 | e;
| 2020202076617220726164697573203d2031303b | var radius = 10;
| 0d0a202020202020202020202020202020202020 |
| 202076617220706c61796572436f756e74203d20 | var playerCount =
| 313b0d0a20202020202020202020202020202020 | 1;
| 2020202076617220706c617965724f6e65203d20 | var playerOne =
| 303b0d0a20202020202020202020202020202020 | 0;
| 2020202076617220706c6179657254776f203d20 | var playerTwo =
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 4c2212e5ef4fa1f12de1e9b7062a1ba6506b2c7066c2faadeb1e1dc68f0b0728 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 2020202020202f2f7269676874206c616e650d0a | //right lane
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 4d20d3e159e97056251de5d5d1dae0322da5ba17a4b7beb010930d4c6d352866 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 202020706c617965724f6e65506164646c65202d | playerOnePaddle -
| 3d20353b0d0a2020202020202020202020202020 | = 5;
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 52a59f96d208a61275af2ef98f699592b4cf9991bbd103c121d02bf2bc005cc0 |
+------------------------------------------------------------------+
| 0a20202020202020202020202020202020202020 |
| 207d0d0a0d0a2020202020202020202020202020 | }
| 2020202020202428646f63756d656e74292e6b65 | $(document).ke
| 79646f776e286f6e4b6579446f776e293b0d0a20 | ydown(onKeyDown);
| 2020202020202020202020202020202020202024 | $
| 28646f63756d656e74292e6b65797570286f6e4b | (document).keyup(onK
| 65795570293b0d0a0d0a20202020202020202020 | eyUp);
| 2020202020202020202066756e6374696f6e2069 | function i
| 6e69745f706164646c65732829207b0d0a0d0a20 | nit_paddles() {
| 2020202020202020202020202020202020202020 |
| 202020706164646c6568203d2037353b0d0a2020 | paddleh = 75;
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 54a9a8c0c9b0f67254070687222c8ebd11dce6c40fecd3d23c4d63d49f6774af |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 2020202020202020202020202020207d0d0a0d0a | }
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 54d024e6971f62e02f93f63ccacfa091a0a5675ec1fffd60592b44801c1d7893 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 2020202020202020202020202020202020206966 | if
| 20284d6174682e6162732879202d20706c617965 | (Math.abs(y - playe
| 724f6e65506164646c6529203c204d6174682e61 | rOnePaddle) < Math.a
| 62732879202d20706c617965724f6e6550616464 | bs(y - playerOnePadd
| 6c65202d20706164646c65682929207b0d0a2020 | le - paddleh)) {
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 562abc5e81d4c3b95a051649dd2a634ffcb7c76e5611b9134dba4ea95b04f6e1 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 2020202020202020706c6179657254776f506164 | playerTwoPad
| 646c65202d3d20353b0d0a202020202020202020 | dle -= 5;
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 563266dd8be0b7fda91ff8d9a9b57f5c7296f787c9de3584158e4bb1879dd848 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 2020202069662028706175736529207b0d0a2020 | if (pause) {
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 56f602d072c3404e29bafb7cd1b24b7e77789638d3ba84441a4ebabaa8037fda |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 202020202020207d0d0a0d0a2020202020202020 | }
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 57216b466d317392cb2e3682a7b97b8a48ddd9b72221abb7682a5af6808e6577 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 20202020656c7365206966202878202b20647820 | else if (x + dx
| 2b20726164697573203e205749445448202d2070 | + radius > WIDTH - p
| 6164646c657729207b0d0a0d0a20202020202020 | addlew) {
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 59d03ef0eb3ddc864a2168e69900623130639d40eab80a072bc0bd912ded7e4a |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 202020202020202020202020207d0d0a0d0a2020 | }
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 5a678abdd2f95f29e62e3a1e9aea6d4f24bd1ce22f19dac58029d38197aa1889 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 20206966202863656e746572506164646c65203e | if (centerPaddle >
| 20302e323029207b0d0a0d0a2020202020202020 | 0.20) {
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 5d6786d037c89d12fcdad2ec96a70e080bd2cea72e38cf214e3111806bcf3e3e |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 202020202020202020202020207d0d0a20202020 | }
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 60776e05489b057f26e8ab62995389223a5d4d7bd3bd58c4f747994f10c21be6 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 202020706c617965724f6e652b2b3b0d0a202020 | playerOne++;
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 63daeb21aaafd5b17f2b61f2a4e2073802129c6b6fdddf597a483257ae92355c |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 20207d0d0a0d0a20202020202020202020202020 | }
| 2020202020202020202020202020202020202065 | e
| 6c7365207b0d0a0d0a2020202020202020202020 | lse {
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 6a5d013d33e2a500c63ab90ff8c8ba1710c427616b20bda286b49f5fb5942923 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 207d0d0a20202020202020202020202020202020 | }
| 20202020202020207d0d0a0d0a20202020202020 | }
| 2020202020202020202020202020202020656c73 | els
| 652069662028706c617965724f6e65557029207b | e if (playerOneUp) {
| 0d0a202020202020202020202020202020202020 |
| 2020202020202020202069662028706c61796572 | if (player
| 4f6e65506164646c65202d2035203e3d20302920 | OnePaddle - 5 >= 0)
| 7b0d0a2020202020202020202020202020202020 | {
| 202020202020202020202020202020706c617965 | playe
| 724f6e65506164646c65202d3d20353b0d0a2020 | rOnePaddle -= 5;
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 71e1f2afbab260f63cc66f90865534921e778274e19e4db7d71315963c9151f0 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 20202f2f686974207468652062616c6c20696e20 | //hit the ball in
| 6f6e65206f66206974732065787472656d697469 | one of its extremiti
| 65730d0a20202020202020202020202020202020 | es
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 7300c1b46b4ccc01a05a12bba2c96fe0718ab6b4d0dde66e04d72675ba2fcf42 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 20202020206478203d202d64783b0d0a20202020 | dx = -dx;
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 74ec52ca8d36aea2c83d8b83f2cdc3b93ab140c241e120c6635a0f6ca624205d |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 202020202020202020202f2f69662062616c6c20 | //if ball
| 636c6f73657220746f2075702073696465206f66 | closer to up side of
| 20636f6d707574657220706164646c650d0a2020 | computer paddle
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 78a672776cc6e15bd55675516385637edcfe925ab51fce8bde20ea7a2184802b |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 2f2f6d6f76652074686520706164646c65206966 | //move the paddle if
| 207570206f7220646f776e206973206375727265 | up or down is curre
| 6e746c7920707265737365640d0a0d0a20202020 | ntly pressed
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 7de25d4aa52ac66e9a25e6de65dfe8bd1c4422191d7d0f333aa31b6726d0b5d7 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 20202020656c7365206966202879203c20706c61 | else if (y < pla
| 7965724f6e65506164646c6529207b0d0a202020 | yerOnePaddle) {
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 805984e2e95c9d5db0d094d20498d6c571a13b98a7b400adf713b5a2cae553ae |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 2020202020202020202020207d0d0a2020202020 | }
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 8213e3cc94be9f04444c36b43c68b61669fc8092227388297012cbdaabf7a4a1 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 207265637428302c20706c6179657254776f5061 | rect(0, playerTwoPa
| 64646c652c20706164646c65772c20706164646c | ddle, paddlew, paddl
| 6568293b0d0a0d0a202020202020202020202020 | eh);
| 2020202020202020202020206966202879202b20 | if (y +
| 6479202b20726164697573203e20484549474854 | dy + radius > HEIGHT
| 207c7c2079202b206479202d2072616469757320 | || y + dy - radius
| 3c2030290d0a2020202020202020202020202020 | < 0)
| 20202020202020202020202020206479203d202d | dy = -
| 64793b0d0a0d0a20202020202020202020202020 | dy;
| 20202020202020202020202f2f6c656674206c61 | //left la
| 6e650d0a20202020202020202020202020202020 | ne
| 20202020202020206966202878202b206478202d | if (x + dx -
| 20726164697573203c20706164646c657729207b | radius < paddlew) {
| 0d0a0d0a20202020202020202020202020202020 |
| 2020202020202020202020206966202879203c3d | if (y <=
| 20706c6179657254776f506164646c65202d2072 | playerTwoPaddle - r
| 6164697573202d2028706164646c6577202f2032 | adius - (paddlew / 2
| 29207c7c2079203e3d20706c6179657254776f50 | ) || y >= playerTwoP
| 6164646c65202b20706164646c6568202b207261 | addle + paddleh + ra
| 64697573202b2028706164646c6577202f203229 | dius + (paddlew / 2)
| 29207b0d0a202020202020202020202020202020 | ) {
| 2020202020202020202020202020202020696620 | if
| 28706c61796572436f756e74203c332970617573 | (playerCount <3)paus
| 65203d20747275653b0d0a202020202020202020 | e = true;
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 83158c554924ddd424779169e696800aa0d628c36899d253acb949033c5a1e43 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 8415623c2b791384f0905234c10c2a302d68d031da7abba8149c7ff8d85e7051 |
+------------------------------------------------------------------+
| 2a3136393c3c68313e3c6120687265663d22626f | *169<<h1><a href="bo
| 6e672d62616c6c2e68746d6c223e424f4e473c2f | ng-ball.html">BONG</
| 613e20e78e892028302e32293c2f68313e3c703e | a> (0.2)</h1><p>
| 0d0a3c68313e3c6120687265663d222e2e2f3036 | <h1><a href="../06
| 3239393064353430343561396333313631313066 | 2990d54045a9c316110f
| 6237313330303964313331336232663634633462 | b713009d1313b2f64c4b
| 3231366436363839316337323834643663316361 | 216d66891c7284d6c1ca
| 30652f626f6e672d62616c6c2e68746d6c223e47 | 0e/bong-ball.html">G
| 4f204241434b3c2f68313e3c703e626f6e672d62 | O BACK</h1><p>bong-b
| 616c6c2e68746d6c5c31353331353fefbbbf3c21 | all.html\15315? <!
| 444f43545950452068746d6c3e0d0a0d0a3c6874 | DOCTYPE html> <ht
| 6d6c3e0d0a3c686561643e0d0a202020203c7469 | ml> <head> <ti
| 746c653e424f4e4720e78e892028302e32293c2f | tle>BONG (0.2)</
| 7469746c653e0d0a202020203c6d657461206368 | title> <meta ch
| 61727365743d227574662d38223e0d0a20202020 | arset="utf-8">
| 3c7374796c653e0d0a0d0a3c2f7374796c653e0d | <style> </style>
| 0d0a202020203c63656e7465723e3c68313e3c61 | <center><h1><a
| 20687265663d222e2e2f30363239393064353430 | href="../062990d540
| 3435613963333136313130666237313330303964 | 45a9c316110fb713009d
| 3133313362326636346334623231366436363839 | 1313b2f64c4b216d6689
| 31633732383464366331636130652f626f6e672d | 1c7284d6c1ca0e/bong-
| 62616c6c2e68746d6c223e424f4e473c2f613e20 | ball.html">BONG</a>
| e78e893c2f68313e3c703e3c212d2d23696e636c | </h1><p><!--#incl
| 7564652066696c653d222e2e5c62726f61646361 | ude file="..\broadca
| 73745c676c6f62616c2d74776565742e73736922 | st\global-tweet.ssi"
| 202d2d3e3c703e0d0a0909203c73637269707420 | --><p> <script
| 7372633d222e2e2f663565383136366333306664 | src="../f5e8166c30fd
| 3038306639633566306162373961353762303538 | 080f9c5f0ab79a57b058
| 6530643331333634663830363466333962616464 | e0d31364f8064f39badd
| 6466663236373566373534622f6a71756572792e | dff2675f754b/jquery.
| 6d696e2e6a73223e3c2f7363726970743e20200d | min.js"></script>
| 0a2020202020202020202020203c736372697074 | <script
| 3e0d0a0d0a202020202020202020202020202020 | >
| 202428646f63756d656e74292e72656164792866 | $(document).ready(f
| 756e6374696f6e202829207b0d0a0d0a20202020 | unction () {
| 202020202020202020202020202020202f2f4245 | //BE
| 47494e204c49425241525920434f44450d0a2020 | GIN LIBRARY CODE
| 2020202020202020202020202020202020207661 | va
| 7220783b0d0a2020202020202020202020202020 | r x;
| 20202020202076617220793b0d0a202020202020 | var y;
| 2020202020202020202020202020766172206478 | var dx
| 3b0d0a2020202020202020202020202020202020 | ;
| 2020207661722064793b0d0a2020202020202020 | var dy;
| 2020202020202020202020207661722057494454 | var WIDT
| 483b0d0a20202020202020202020202020202020 | H;
| 20202020766172204845494748543b0d0a202020 | var HEIGHT;
| 2020202020202020202020202020202020766172 | var
| 206374783b0d0a20202020202020202020202020 | ctx;
| 2020202020202076617220706c617965724f6e65 | var playerOne
| 506164646c653b0d0a2020202020202020202020 | Paddle;
| 20202020202020202076617220706c6179657254 | var playerT
| 776f506164646c653b0d0a202020202020202020 | woPaddle;
| 202020202020202020202076617220706164646c | var paddl
| 65683b0d0a202020202020202020202020202020 | eh;
| 202020202076617220706164646c65773b0d0a20 | var paddlew;
| 2020202020202020202020202020202020202076 | v
| 617220696e74657276616c49643b0d0a20202020 | ar intervalId;
| 2020202020202020202020202020202076617220 | var
| 706c617965724f6e65446f776e203d2066616c73 | playerOneDown = fals
| 653b0d0a20202020202020202020202020202020 | e;
| 2020202076617220706c617965724f6e65557020 | var playerOneUp
| 3d2066616c73653b0d0a20202020202020202020 | = false;
| 2020202020202020202076617220706c61796572 | var player
| 54776f446f776e203d2066616c73653b0d0a2020 | TwoDown = false;
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 897834523b3bf8e5052ce297dd5668b3469c2b13915d13f2e704d46ad705b243 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 202020202020207d0d0a20202020202020202020 | }
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 8b22a8f840b95d6e5b7d0534e9fb0bb5f9663813c24543870c65e707e2a36ef0 |
+------------------------------------------------------------------+
| 2020202020202020202020207d0d0a0d0a202020 | }
| 20202020202020202020202020202020202f2f45 | //E
| 4e44204c49425241525920434f44450d0a0d0a20 | ND LIBRARY CODE
| 2020202020202020202020202020202020202066 | f
| 756e6374696f6e20647261772829207b0d0a2020 | unction draw() {
| 2020202020202020202020202020202020202020 |
| 2020636c65617228293b0d0a2020202020202020 | clear();
| 2020202020202020202020202020200969662028 | if (
| 64617a7a6c6529206374782e66696c6c5374796c | dazzle) ctx.fillStyl
| 65203d2027726762612827202b202831202b204d | e = 'rgba(' + (1 + M
| 6174682e666c6f6f72284d6174682e72616e646f | ath.floor(Math.rando
| 6d2829202a203235362929202b20272c2027202b | m() * 256)) + ', ' +
| 202831202b204d6174682e666c6f6f72284d6174 | (1 + Math.floor(Mat
| 682e72616e646f6d2829202a203235362929202b | h.random() * 256)) +
| 20272c2027202b202831202b204d6174682e666c | ', ' + (1 + Math.fl
| 6f6f72284d6174682e72616e646f6d2829202a20 | oor(Math.random() *
| 3235362929202b20272c203129270d0a20202020 | 256)) + ', 1)'
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 93459f7a0279d7a67ceb5d059d8bcdc4bab7c6603c8ceda1500b826aa745d7ad |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 2020202020202078203d20706164646c6577202b | x = paddlew +
| 207261646975733b0d0a20202020202020202020 | radius;
| 20202020202020202020202020207d0d0a0d0a20 | }
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 94273164bc7249dc1be99b169c57c0416d0e531f1dbbcadee563213a80cd1ab7 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 2020202020202020202020202020206966202870 | if (p
| 6c6179657254776f506164646c65202d2035203e | layerTwoPaddle - 5 >
| 3d203029207b0d0a202020202020202020202020 | = 0) {
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 95eee7d1c94f419368b7d717f57db71d3acd695230ce3ff3c107c75fb28e48d9 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 202020206479203d204d6174682e666c6f6f7228 | dy = Math.floor(
| 4d6174682e72616e646f6d2829202a203929202d | Math.random() * 9) -
| 20343b0d0a202020202020202020202020202020 | 4;
| 202020202020202020696620286479203d3d2030 | if (dy == 0
| 29206479203d20313b0d0a0d0a20202020202020 | ) dy = 1;
| 2020202020202020202020202020202020706c61 | pla
| 7965724f6e65446f776e203d2066616c73653b0d | yerOneDown = false;
| 0a20202020202020202020202020202020202020 |
| 2020202020706c617965724f6e655570203d2066 | playerOneUp = f
| 616c73653b0d0a20202020202020202020202020 | alse;
| 2020202020202020202020706c6179657254776f | playerTwo
| 446f776e203d2066616c73653b0d0a2020202020 | Down = false;
| 2020202020202020202020202020202020202070 | p
| 6c6179657254776f5570203d2066616c73653b0d | layerTwoUp = false;
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 962de646dbefbe15ee16e1457701c31991478646ee497e431db5b543999764a0 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 2020202020202020706c6179657254776f506164 | playerTwoPad
| 646c65202b3d20353b0d0a202020202020202020 | dle += 5;
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 9736e4028510be6bfb8c10dd329fd3b10832dc4d42375722cb77c62473d2b4fd |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 2020207661722064656c61795265616374696f6e | var delayReaction
| 203d204d6174682e72616e646f6d28293b0d0a0d | = Math.random();
| 0a20202020202020202020202020202020202020 |
| 2020202020202020202f2f323525206368616e63 | //25% chanc
| 65206f66207265616374696f6e2064656c61790d | e of reaction delay
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 98748a493a215ce5afa9ae66dd1cb9a7ca6b3e1da9c7ec0bf1da6eaab059531e |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 2020202020696e697428293b0d0a202020202020 | init();
| 2020202020202020202020202020202020207d0d | }
| 0a0d0a2020202020202020202020202020202020 |
| 2020207d0d0a0d0a202020202020202020202020 | }
| 20202020202020202f2f616e6420756e73657420 | //and unset
| 7468656d207768656e20746865206b6579206973 | them when the key is
| 2072656c65617365640d0a202020202020202020 | released
| 202020202020202020202066756e6374696f6e20 | function
| 6f6e4b657955702865767429207b0d0a20202020 | onKeyUp(evt) {
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 99867abf68c9638a67fff6567ad3ef42a5738cddc05a9dd3d44544d2abfbadbf |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 20202020202020202020202069662028706c6179 | if (play
| 657254776f506164646c65202b20706164646c65 | erTwoPaddle + paddle
| 68202b2035203c3d2048454947485429207b0d0a | h + 5 <= HEIGHT) {
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 9ab04266026c2c238a4fff4d168a92b054e0bbdb3739cf39d09245fb2fc64c3a |
+------------------------------------------------------------------+
| 303b0d0a20202020202020202020202020202020 | 0;
| 20202020766172207061757365203d2074727565 | var pause = true
| 3b0d0a2020202020202020202020202020202020 | ;
| 2020207661722064617a7a6c65203d2066616c73 | var dazzle = fals
| 653b0d0a20202020202020202020202020202020 | e;
| 2020202076617220696d6167654f626a203d206e | var imageObj = n
| 657720496d61676528293b0d0a0d0a2020202020 | ew Image();
| 2020202020202020202020202020207661722063 | var c
| 616e766173203d20646f63756d656e742e676574 | anvas = document.get
| 456c656d656e744279496428276d7943616e7661 | ElementById('myCanva
| 7327293b0d0a0d0a202020202020202020202020 | s');
| 20202020202020202f2f48616e646c6520766172 | //Handle var
| 696f7573206b657920646f776e206576656e7473 | ious key down events
| 0d0a202020202020202020202020202020202020 |
| 202066756e6374696f6e206f6e4b6579446f776e | function onKeyDown
| 2865767429207b0d0a2020202020202020202020 | (evt) {
| 2020202020202020202020202069662028657674 | if (evt
| 2e6b6579436f6465203d3d2034302920706c6179 | .keyCode == 40) play
| 65724f6e65446f776e203d20747275653b0d0a20 | erOneDown = true;
| 2020202020202020202020202020202020202020 |
| 202020656c736520696620286576742e6b657943 | else if (evt.keyC
| 6f6465203d3d2033382920706c617965724f6e65 | ode == 38) playerOne
| 5570203d20747275653b0d0a2020202020202020 | Up = true;
| 20202020202020202020202020202020656c7365 | else
| 20696620286576742e6b6579436f6465203d3d20 | if (evt.keyCode ==
| 3930202620706c61796572436f756e74203e2031 | 90 & playerCount > 1
| 2920706c6179657254776f446f776e203d207472 | ) playerTwoDown = tr
| 75653b0d0a202020202020202020202020202020 | ue;
| 202020202020202020656c736520696620282865 | else if ((e
| 76742e6b6579436f6465203d3d203635207c7c20 | vt.keyCode == 65 ||
| 6576742e6b6579436f6465203d3d203831292026 | evt.keyCode == 81) &
| 20706c61796572436f756e74203e20312920706c | playerCount > 1) pl
| 6179657254776f5570203d20747275653b0d0a20 | ayerTwoUp = true;
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 9caa8269ade3ba2160d8e165b3c25316b573337c0bc5b26e05adb7cd82b1894c |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 2020207661722063656e746572506164646c6520 | var centerPaddle
| 3d204d6174682e72616e646f6d28293b0d0a0d0a | = Math.random();
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| 9ffab9fcb520ee7e7c87f43b0e2f6aba2a0c2b12a8cea74d58ec797ea13868c7 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 2020202020207d0d0a2020202020202020202020 | }
| 202020202020202020202020207d0d0a0d0a2020 | }
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| a039e679e799a01fddea09c9d21cfd3373f70ef1cfe78ae3f20e3078fd808a2f |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 202020202020202f2f323525206368616e636520 | //25% chance
| 6f66207265616374696f6e2064656c61790d0a20 | of reaction delay
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| a46fd5cd5bfc1f2c5f2034b249c7eba3516052e3c7d294f82d8f68a8802a6973 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| a54fd7b6dd441eed49d29677c6ce31633f083df4ebfbae68e62387e1ee538387 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 2020202020202020202020202069662028706c61 | if (pla
| 7965724f6e65506164646c65202d2035203e3d20 | yerOnePaddle - 5 >=
| 3029207b0d0a2020202020202020202020202020 | 0) {
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| aa6cb17e2c966b5993d72322878908d8457cba4e2dab54536a1b70887778e2e2 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 20202079203d20484549474854202f20323b0d0a | y = HEIGHT / 2;
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| aa72ccd9627d27b1cad543c5b555e05ac59d52520ce67df58470e66a5641707f |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 202020202020207d0d0a20202020202020202020 | }
| 20202020202020202020202020207d0d0a0d0a20 | }
| 202020202020202020202020202020202020207d | }
| 74696f6e20706c617965724f6e6542616c6c4149 | tion playerOneBallAI
| 2829207b0d0a0d0a202020202020202020202020 | () {
| 2020202020202020202020206966202878203e3d | if (x >=
| 205749445448202f20322026206478203e203029 | WIDTH / 2 & dx > 0)
| 207b0d0a20202020202020202020202020202020 | {
| 2020202020202020202020202f2f72616e646f6d | //random
| 6c79207069636b206e756d626572206265746577 | ly pick number betew
| 65656e203020616e6420310d0a20202020202020 | een 0 and 1
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| ab978efcde2bbd1026b6f0c938c58d8b353f0b23cac68539ff4ed7aa341547bb |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 696620286576742e6b6579436f6465203d3d2034 | if (evt.keyCode == 4
| 302920706c617965724f6e65446f776e203d2066 | 0) playerOneDown = f
| 616c73653b0d0a20202020202020202020202020 | alse;
| 2020202020202020202020656c73652069662028 | else if (
| 6576742e6b6579436f6465203d3d203338292070 | evt.keyCode == 38) p
| 6c617965724f6e655570203d2066616c73653b0d | layerOneUp = false;
| 0a20202020202020202020202020202020202020 |
| 2020202020656c736520696620286576742e6b65 | else if (evt.ke
| 79436f6465203d3d203930202620706c61796572 | yCode == 90 & player
| 436f756e74203e20312920706c6179657254776f | Count > 1) playerTwo
| 446f776e203d2066616c73653b0d0a2020202020 | Down = false;
| 2020202020202020202020202020202020202065 | e
| 6c73652069662028286576742e6b6579436f6465 | lse if ((evt.keyCode
| 203d3d203635207c7c206576742e6b6579436f64 | == 65 || evt.keyCod
| 65203d3d20383129202620706c61796572436f75 | e == 81) & playerCou
| 6e74203e20312920706c6179657254776f557020 | nt > 1) playerTwoUp
| 3d2066616c73653b0d0a20202020202020202020 | = false;
| 2020202020202020202020202020656c73652069 | else i
| 6620286576742e6b6579436f6465203d3d203438 | f (evt.keyCode == 48
| 292064617a7a6c65203d2066616c73653b0d0a0d | ) dazzle = false;
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| ae1f5e5a90194cca78b3cea3c01e951b76074ec567387f20294cac515b9f572f |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 202020202020202020202020202020706c617965 | playe
| 7254776f506164646c65202b3d20353b0d0a2020 | rTwoPaddle += 5;
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| ae2598d69b3b4810a5e26ce4f038d1c73a33ef852ad134de886ea481251f9952 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 2020206374782e7265637428782c20792c20772c | ctx.rect(x, y, w,
| 2068293b0d0a2020202020202020202020202020 | h);
| 202020202020202020206374782e636c6f736550 | ctx.closeP
| 61746828293b0d0a202020202020202020202020 | ath();
| 2020202020202020202020206374782e66696c6c | ctx.fill
| 28293b0d0a202020202020202020202020202020 | ();
| 20202020207d0d0a0d0a20202020202020202020 | }
| 2020202020202020202066756e6374696f6e2063 | function c
| 6c6561722829207b0d0a20202020202020202020 | lear() {
| 20202020202020202020202020206374782e636c | ctx.cl
| 6561725265637428302c20302c2057494454482c | earRect(0, 0, WIDTH,
| 20484549474854293b0d0a0d0a20202020202020 | HEIGHT);
| 202020202020202020202020207d0d0a0d0a2020 | }
| 2020202020202020202020202020202020206675 | fu
| 6e6374696f6e20706c6179657254776f42616c6c | nction playerTwoBall
| 41492829207b0d0a0d0a20202020202020202020 | AI() {
| 2020202020202020202020202020696620287820 | if (x
| 3c3d205749445448202f20322026206478203c20 | <= WIDTH / 2 & dx <
| 3029207b0d0a2020202020202020202020202020 | 0) {
| 20202020202020202020202020202f2f72616e64 | //rand
| 6f6d6c79207069636b206e756d62657220626574 | omly pick number bet
| 657765656e203020616e6420310d0a2020202020 | eween 0 and 1
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| af9a895cd3c19a734c1a17df94abbe08fe804d2cc1e8f676a9b8f3b4b45cc083 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 2020637478203d2063616e7661732e676574436f | ctx = canvas.getCo
| 6e746578742822326422293b0d0a092020202020 | ntext("2d");
| 202020202020202020202063616e7661732e7769 | canvas.wi
| 647468203d2077696e646f772e696e6e65725769 | dth = window.innerWi
| 647468202d203130303b0d0a09090963616e7661 | dth - 100; canva
| 732e686569676874203d2077696e646f772e696e | s.height = window.in
| 6e6572486569676874202d203135303b0d0a2020 | nerHeight - 150;
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| b1085edd8d6c8003c68d02c5648164572e774af04d88ce28c3ed2c52fa8d276a |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 202020207d0d0a0d0a2020202020202020202020 | }
| 202020202020202020202020207d0d0a0d0a2020 | }
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| b8e45c3c14b85ed07d3fdf9cb450002fe2498f82accad71b628efc77de400c50 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 202020202020202020202020202020207d0d0a20 | }
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| b96bc87ce79bf0b8f94416c87a91309a69dc0f2eb05d1e6f4c09b4eaafc1e653 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| ba7c1fad0e931be1b4790e7d438248609902ae137a691003110e8ee003cff2fd |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 202020202020202020202020202020202f2f3430 | //40
| 25206368616e6365206f66206265747465722063 | % chance of better c
| 656e746572696e672074686520706164646c650d | entering the paddle
| 0a20202020202020202020202020202020202020 |
| 20202020202020202020202020202020202f2f6f | //o
| 74686572776973652074686520706164646c6541 | therwise the paddleA
| 492077696c6c206d6f7374206f66207468652074 | I will most of the t
| 696d65730d0a2020202020202020202020202020 | imes
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| bbf3d6dd346b7e49eb59fb6d79d41f457e64e4b6c65e03af3eb4433a40573d6a |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 202020202020202020202020706c617965725477 | playerTw
| 6f506164646c65202b3d20353b0d0a2020202020 | oPaddle += 5;
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| bcc9f77cd570468351758e503adf34a1e6b9a37662ea1c1f5099b74ef52c5cb6 |
+------------------------------------------------------------------+
| 0a20202020202020202020202020202020202020 |
| 2020202020202020206966202864656c61795265 | if (delayRe
| 616374696f6e203e3d20302e323529207b0d0a0d | action >= 0.25) {
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| be5d794366330b954204c423673e66f3a45c9d1bcb621eb3087b8027a0f2a378 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 202020202020202020696e697428293b0d0a0d0a | init();
| 0d0a0d0a20202020202020202020202020202020 |
| 2020202020202020202020207d0d0a0d0a202020 | }
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| bf627abbe1f2ad1ac689a19c30b40331f66cac13bf8af492cbb381c928309ac2 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 2020202020202020202069662028706c61796572 | if (player
| 4f6e65506164646c65202b20706164646c656820 | OnePaddle + paddleh
| 2b2035203c3d2048454947485429207b0d0a2020 | + 5 <= HEIGHT) {
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| c0bdc51505d5097606954c90e81338d9abfdba41315bdaa8d4950a40421604a5 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 202020206374782e66696c6c28293b0d0a202020 | ctx.fill();
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| ca00e9c4204be88fba1c0305921b007cefb4f5414e50e26097aa9cbabd87fcee |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 20202020207661722063656e746572506164646c | var centerPaddl
| 65203d204d6174682e72616e646f6d28293b0d0a | e = Math.random();
| 0d0a202020202020202020202020202020202020 |
| 2020202020202020202020202020202020202f2f | //
| 383025206368616e6365206f6620626574746572 | 80% chance of better
| 2063656e746572696e672074686520706164646c | centering the paddl
| 650d0a2020202020202020202020202020202020 | e
| 202020202020202020202020202020202020202f | /
| 2f6f74686572776973652074686520706164646c | /otherwise the paddl
| 6541492077696c6c206d6f7374206f6620746865 | eAI will most of the
| 2074696d65730d0a202020202020202020202020 | times
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| cb8277ff9c0ff65461e5121ea33be43e456511630eea392c953a0a4a76091c0e |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 202020202020656c7365206966202879203c2070 | else if (y < p
| 6c6179657254776f506164646c6529207b0d0a20 | layerTwoPaddle) {
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| cc9c1f5fbfaefb9bda6bdee9886553028749d5a16f9cb5c394f81e226927f44e |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 20202020202020202020206966202879203e2070 | if (y > p
| 6c617965724f6e65506164646c65202b20706164 | layerOnePaddle + pad
| 646c656829207b0d0a2020202020202020202020 | dleh) {
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| cfa7051a1ad393d98089f217927f6748ef023eb1cbbf0b841fd420d12b661861 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 636972636c6528782c20792c2072616469757329 | circle(x, y, radius)
| 3b0d0a2020202020202020202020202020202020 | ;
| 2020202020202064726177496d61676528696d61 | drawImage(ima
| 67654f626a290d0a202020202020202020202020 | geObj)
| 2020202020202020202020206374782e66696c6c | ctx.fill
| 5465787428706c6179657254776f2c2028574944 | Text(playerTwo, (WID
| 5448202f2032202d203730292c203530293b0d0a | TH / 2 - 70), 50);
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| cfbbe26225857b8369ff4ca4f140fca6f4a86fc401459b7e224a4c00647bbe65 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 202020202020706c617965724f6e65506164646c | playerOnePaddl
| 65202b3d20353b0d0a2020202020202020202020 | e += 5;
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| d1db3c2b7de5655984dae4d9a5073f1d11954afca3556404b6c1b61157d428dc |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 20202020202069662028706c617965724f6e6520 | if (playerOne
| 3e20706c6179657254776f29207b0d0a20202020 | > playerTwo) {
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| d2bcc9cc92cb97f8e669b57a4697d19f348e5c3189a87df14ebb4b1896f50c49 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 202020202020202079203d20706c617965724f6e | y = playerOn
| 65506164646c65202b2028706164646c6568202f | ePaddle + (paddleh /
| 2032293b0d0a2020202020202020202020202020 | 2);
| 20202020202020202020202020207d0d0a202020 | }
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| d4db1d4f54553492bc602b8a304b3a2eae896295ae94c3b0c92c0d76283c1572 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 2020202020202020202020202f2f69662062616c | //if bal
| 6c20636c6f73657220746f207570207369646520 | l closer to up side
| 6f6620636f6d707574657220706164646c650d0a | of computer paddle
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| d5478c1638972c11c918d0fb867b9daa98b06260c07b37346683898c55140c92 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 20202020202020202020202020706c617965724f | playerO
| 6e65506164646c65202b3d20353b0d0a20202020 | nePaddle += 5;
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| d56c85cf3dfc4182e550da6314f5c096c3d585816e276b9d7d38ee8ed474bfc9 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 656c7365207b0d0a202020202020202020202020 | else {
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| d685a0b83b2d6e6c24f09f1590cce85839a53bc53e21c550a6823a80639c0c42 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 202020202f2f686974207468652062616c6c2069 | //hit the ball i
| 6e206f6e65206f66206974732065787472656d69 | n one of its extremi
| 746965730d0a2020202020202020202020202020 | ties
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| d6cb4bfed3e0c87452af7f0e8995421902c0c0d8de4c85fbcd5ed4a00a459402 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 202020202020206966202864656c617952656163 | if (delayReac
| 74696f6e203e3d20302e323529207b0d0a0d0a20 | tion >= 0.25) {
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| d9c6cd82279090375d8edf208cf6b51e8bd8b6b6efd74d18187b36f021766b87 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 202020202020202020207d0d0a20202020202020 | }
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| dc914ebfac92bf76d9d6dbd32391bc0a737f93f00dbc3aabfeceda2d44c08747 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 202020202020706c617965724f6e65506164646c | playerOnePaddl
| 65202d3d20353b0d0a2020202020202020202020 | e -= 5;
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| e14a12acde2130de252eb37fe4f906f13e9bb2354c36de7df05c1d59960efeeb |
+------------------------------------------------------------------+
| 0a20202020202020202020202020202020202020 |
| 202020202020202020202020206966202879203e | if (y >
| 20706c6179657254776f506164646c65202b2070 | playerTwoPaddle + p
| 6164646c656829207b0d0a202020202020202020 | addleh) {
| 2020202020202020202020202020202020202020 |
| 2020202020202069662028706c6179657254776f | if (playerTwo
| 506164646c65202b20706164646c6568202b2035 | Paddle + paddleh + 5
| 203c3d2048454947485429207b0d0a2020202020 | <= HEIGHT) {
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| e2b227aa83a5c7081076bd91422afadb46f29cf69e360f17747925486980339f |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| e418faac3a902396ee8046ec80bfb93575d2ad6c72e62156499f77c028fda35d |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 2020202020202020202020202020202020207d0d | }
| 0a20202020202020202020202020202020202020 |
| 20202020202020202020202020202020207d0d0a | }
| 0d0a202020202020202020202020202020202020 |
| 20202020202020202020202020207d0d0a0d0a20 | }
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| e565c8c064d0bc7fbbb5e852b057f53d32cde9494101b166da787559e1be633b |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 2020202020706c6179657254776f506164646c65 | playerTwoPaddle
| 202d3d20353b0d0a202020202020202020202020 | -= 5;
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| e67b0a9ae9db24c33b9a397d096985c99f0e7f47d3a9c184eee05fd8c8b8fa30 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 20202020202020202020706c617965724f6e6550 | playerOneP
| 6164646c65202b3d20353b0d0a20202020202020 | addle += 5;
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| eb552cb70b5acab1f8d36cd974d6d32c2fd5fe4130814d7680e76f84fb48d4bb |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 20202020207d0d0a202020202020202020202020 | }
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| ec02ff47cffcecc7fd2bcb13c00fee084c4d46bcfb01b7fde0333efadb3958e7 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 202020202069662028706c617965724f6e655061 | if (playerOnePa
| 64646c65202b20706164646c6568202b2035203c | ddle + paddleh + 5 <
| 3d2048454947485429207b0d0a20202020202020 | = HEIGHT) {
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| ec9963e19cef0030ab48aac6cd2e530ef4aca7d6d5f6b25ebb7f83ffab52828c |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 202069662028706c6179657254776f446f776e29 | if (playerTwoDown)
| 207b0d0a20202020202020202020202020202020 | {
| 20202020202020202020202069662028706c6179 | if (play
| 657254776f506164646c65202b20706164646c65 | erTwoPaddle + paddle
| 68202b2035203c3d2048454947485429207b0d0a | h + 5 <= HEIGHT) {
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| ef68646c619c6740e3194b04a8d31f7f672953c3e8d179321ffca30d009c0e69 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| efb9aae2733f247768cf07414bf489812657c3b85adc291af01f177264351b81 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 6966202863656e746572506164646c65203e2030 | if (centerPaddle > 0
| 2e363029207b0d0a0d0a20202020202020202020 | .60) {
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| f112b9293e22d8fe001e48c908ff66a26d943bcdb7dd207ab5b7644a481e26aa |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 2020202020202020202020202020207d0d0a2020 | }
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| f8c35c68eea4f52743a2e054475b0623e49cc43dc3b573df6d2baa9cc5d4ef18 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 202020202020202020636c656172496e74657276 | clearInterv
| 616c28696e74657276616c4964293b0d0a202020 | al(intervalId);
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| fc9df6d58f292041c598e1f25146ed577d14ea45d555ad67c07b8241c8adbf74 |
+------------------------------------------------------------------+
| 2020202020202020202020202020202020202020 |
| 2020202020202020202020202020207d0d0a0d0a | }
+------------------------------------------------------------------+