paste the last thing you copied

Sort:
Avatar of 1e4c6_O-1
1e41-0 wrote:

1k3b1r/1p3R2/p2pn3/3r1B2/1P3P2/8/P5P1/2R3K1 b - - 0 1



Avatar of 1e4c6_O-1

Rxf5 Rxf5 Nd4 which is forking the rook and the e2 square which forks the rook and gthe king @1e41-0 

is that right?

Avatar of dah_happyh0ppyh0rsi3

                                                .

Avatar of A_fellow_gamer

https://www.chess.com/club/the-goose-club

Avatar of ChessSensasian

https://www.chess.com/blog/ChessSensasian/to-all-my-friends-on-chess-com

 

Avatar of 1e4c6_O-1
CheesyApplesauce wrote:
. . / `. .' \ .---. < > < > .---. | \ \ - ~ ~ - / / | ~-..-~ ~-..-~ \~~~\.' `./~~~/ .-~~^-. \__/ \__/ .' O \ / / \ \ (_____, `._.' | } \/~~~/ `----. / } | / \__/ `-. | / | / `. ,~~| ~-.__| /_ - ~ ^| /- _ `..-' f: f: | / | / ~-. `-. _||_||_ |_____| |_____| ~ - . _ _ _ _ _>

 

Avatar of KahanDesai

https://www.youtube.com/watch?v=yMg9tVZBSPw

Avatar of A_fellow_gamer

Among Us, Innersloth's breakout hit of 2020, is coming to the Nintendo Switch today. The news was announced during a special indie game-focused Nintendo Direct. The game will feature crossplay. ... The game picked up the award for best multiplayer title of the year during this year's Game Awards.

Avatar of dah_happyh0ppyh0rsi3

what if i dont want to?

Avatar of duntcare

⛧🍋cleo🍋⛧

Avatar of A_fellow_gamer

https://www.youtube.com/watch?v=kPRA0W1kECg

Avatar of A_fellow_gamer

It hurts my ears

Avatar of KahanDesai
Dah_Happyhoppyhorsi3 wrote:

what if i dont want to?

Then don't, no one has forced you

Avatar of chamo2074

itude is surely gonna take the peas

Avatar of alpha_zer000

lol

Avatar of alpha_zer000

but yes, Itude is the best comedian ever

Avatar of 1e4c6_O-1

https://nationaltoday.com/vijay-diwas/

Avatar of 1e4c6_O-1

indeed. according to the latest and most trustworthy statistics about 92 of the top 100 songs currently are about the most intelligent member of the chess.com forums. in my opinion that number is far too low ! sad.png

Avatar of jacobsperber2


<!DOCTYPE html>
<html>
<head>
<title>platformer</title>

</head>
<body>
<canvas id="cnv" width="1200" height="940">
<script>
var ctx = cnv.getContext('2d');
var allBlocks = [];
var BlockSize = 100;
var replaceString = function(string,index,what){
var s = string;
return s.slice(0,index)+what+s.slice(index+1)
}

var map = [
'BBBBBBB',
'B......',
'B......',
'BB..BBB',
'B......',
'B.BBBBB',
'B......',
'B.BBBBB',
'B...S..',
'BBBBBBB',


]
var Block = function(x,y,size,type){
this.x = x;
this.y = y;
this.size = size;this.type = type;
};
Block.prototype.draw = function(){
if(this.type==='B'){
ctx.fillStyle = 'black';

ctx.fillRect(this.x,this.y,this.size,this.size);}
if(this.type==='F'){
ctx.fillStyle = 'red';

ctx.fillRect(this.x,this.y,this.size,this.size);}
if(this.type==='S'){
ctx.fillStyle = 'cyan';

ctx.fillRect(this.x,this.y,this.size,this.size);
}

}


var BOT = function(map){
this.x = 0;
this.y = 0;
this.size = BlockSize;
this.map = map;
this.posX ;this.posY;

this.test = {x:0,y:0};
this.mapPoints = [];//the numbers of all the spaces;
for(var i = 0;i<10;i++){
this.mapPoints.push([0,0,0,0,0])
}
this.numberedNodes = [];//the list of testing spaces.
}
BOT.prototype.setStart = function(x,y,posX,posY) {
this.x = x;
this.y = y;
this.posX = posX;
this.posY = posY;
this.test = {x:this.posX,y:this.posY};

this.mapPoints[this.posY][this.posX]=1;

this.test.x = this.posX-1;
this.test.y = this.posY;
var testBlock = this.map[this.test.y][this.test.x];
if(testBlock==='.'){
this.mapPoints[this.test.y][this.test.x]=this.mapPoints[this.posY][this.posX]+1;
this.numberedNodes.push([this.test.y,this.test.x]);

}
this.test.x = this.posX+1;
this.test.y = this.posY;
var testBlock = this.map[this.test.y][this.test.x];

if(testBlock==='.'){
this.mapPoints[this.test.y][this.test.x]=this.mapPoints[this.posY][this.posX]+1;
this.numberedNodes.push([this.test.y,this.test.x]);
}

this.test.x = this.posX;
this.test.y = this.posY+1;
var testBlock = this.map[this.test.y][this.test.x];
if(testBlock==='.'){
this.mapPoints[this.test.y][this.test.x]=this.mapPoints[this.posY][this.posX]+1;
this.numberedNodes.push([this.test.y,this.test.x]);

}

this.test.x = this.posX;
this.test.y = this.posY-1;
var testBlock = this.map[this.test.y][this.test.x];

if(testBlock==='.'){
this.numberedNodes.push([this.test.y,this.test.x]);
this.mapPoints[this.test.y][this.test.x]=this.mapPoints[this.posY][this.posX]+1;
}

 



console.log(this.mapPoints);

};
BOT.prototype.draw = function(first_argument) {
ctx.fillStyle = 'green';
ctx.fillRect(this.x+this.size/5,this.y+this.size/5,this.size-this.size/5-this.size/5,this.size-this.size/5-this.size/5);
};
BOT.prototype.mape = function() {

while(true){

var newNodes = [];
for(var i = 0;i<this.numberedNodes.length;i++){

this.test.x = this.numberedNodes[i][1]-1;
this.test.y = this.numberedNodes[i][0];

var testBlock = this.map[this.test.y][this.test.x];
if(testBlock==='.'){
this.mapPoints[this.test.y][this.test.x]=1;
newNodes.push([this.test.y,this.test.x]);
}
this.test.x = this.numberedNodes[i][1]+1;
this.test.y = this.numberedNodes[i][0];

var testBlock = this.map[this.test.y][this.test.x];
if(testBlock==='.'){
this.mapPoints[this.test.y][this.test.x]=1;
newNodes.push([this.test.y,this.test.x]);

}
this.test.x = this.numberedNodes[i][1];
this.test.y = this.numberedNodes[i][0]+1;

var testBlock = this.map[this.test.y][this.test.x];
if(testBlock==='.'){
this.mapPoints[this.test.y][this.test.x]=1;
newNodes.push([this.test.y,this.test.x]);

}
this.test.x = this.numberedNodes[i][1];
this.test.y = this.numberedNodes[i][0]-1;

var testBlock = this.map[this.test.y][this.test.x];
if(testBlock==='.'){
this.mapPoints[this.test.y][this.test.x]=1;
newNodes.push([this.test.y,this.test.x]);

}
ctx.fillStyle = 'red'
}
this.numberedNodes = newNodes;
if(this.numberedNodes.length===0){
break;
}
for (var i = this.mapPoints.length - 1; i >= 0; i--) {
for (var u = this.mapPoints[i].length - 1; u >= 0; u--) {
if(this.mapPoints[i][u]>0){
ctx.fillRect(u*BlockSize,i*BlockSize,BlockSize,BlockSize);}
}
}
}
console.log(this.mapPoints)

/*
[
'BBBBBBBBBB',
'B.......FB',
'B........B',
'BB..SBBBBB',
'B........B',
'B.BBBBBB.B',
'B......B.B',
'B.BBBBBB.B',
'B........B',
'BBBBBBBBBB',

*/

};
var bot = new BOT(map);bot.mape();
for(var i = 0;i<map.length;i++){
for (var u= 0;u<map[i].length;u++) {
allBlocks.push(new Block(u*BlockSize,i*BlockSize,BlockSize,map[i][u]));
console.log(allBlocks[0])
if(map[i][u]==='S'){
bot.setStart(u*BlockSize,i*BlockSize,u,i);
}
}
}


bot.mape();
var game = setInterval(function(){
for(var i = 0;i<allBlocks.length;i++){allBlocks[i].draw();
}
alert(0);
bot.draw();
if(bot.canMape===true){
bot.mape();}
console.log(bot.mapPoints)
},100);


</script>
</body>
</html>


<!DOCTYPE html>
<html>
<head>
<title>platformer</title>

</head>
<body>
<canvas id="cnv" width="1200" height="940">
<script>
var ctx = cnv.getContext('2d');
var allBlocks = [];
var BlockSize = 100;
var replaceString = function(string,index,what){
var s = string;
return s.slice(0,index)+what+s.slice(index+1)
}

var map = [
'BBBBBBB',
'B......',
'B......',
'BB..BBB',
'B......',
'B.BBBBB',
'B......',
'B.BBBBB',
'B...S..',
'BBBBBBB',


]
var Block = function(x,y,size,type){
this.x = x;
this.y = y;
this.size = size;this.type = type;
};
Block.prototype.draw = function(){
if(this.type==='B'){
ctx.fillStyle = 'black';

ctx.fillRect(this.x,this.y,this.size,this.size);}
if(this.type==='F'){
ctx.fillStyle = 'red';

ctx.fillRect(this.x,this.y,this.size,this.size);}
if(this.type==='S'){
ctx.fillStyle = 'cyan';

ctx.fillRect(this.x,this.y,this.size,this.size);
}

}


var BOT = function(map){
this.x = 0;
this.y = 0;
this.size = BlockSize;
this.map = map;
this.posX ;this.posY;

this.test = {x:0,y:0};
this.mapPoints = [];//the numbers of all the spaces;
for(var i = 0;i<10;i++){
this.mapPoints.push([0,0,0,0,0])
}
this.numberedNodes = [];//the list of testing spaces.
}
BOT.prototype.setStart = function(x,y,posX,posY) {
this.x = x;
this.y = y;
this.posX = posX;
this.posY = posY;
this.test = {x:this.posX,y:this.posY};

this.mapPoints[this.posY][this.posX]=1;

this.test.x = this.posX-1;
this.test.y = this.posY;
var testBlock = this.map[this.test.y][this.test.x];
if(testBlock==='.'){
this.mapPoints[this.test.y][this.test.x]=this.mapPoints[this.posY][this.posX]+1;
this.numberedNodes.push([this.test.y,this.test.x]);

}
this.test.x = this.posX+1;
this.test.y = this.posY;
var testBlock = this.map[this.test.y][this.test.x];

if(testBlock==='.'){
this.mapPoints[this.test.y][this.test.x]=this.mapPoints[this.posY][this.posX]+1;
this.numberedNodes.push([this.test.y,this.test.x]);
}

this.test.x = this.posX;
this.test.y = this.posY+1;
var testBlock = this.map[this.test.y][this.test.x];
if(testBlock==='.'){
this.mapPoints[this.test.y][this.test.x]=this.mapPoints[this.posY][this.posX]+1;
this.numberedNodes.push([this.test.y,this.test.x]);

}

this.test.x = this.posX;
this.test.y = this.posY-1;
var testBlock = this.map[this.test.y][this.test.x];

if(testBlock==='.'){
this.numberedNodes.push([this.test.y,this.test.x]);
this.mapPoints[this.test.y][this.test.x]=this.mapPoints[this.posY][this.posX]+1;
}

 



console.log(this.mapPoints);

};
BOT.prototype.draw = function(first_argument) {
ctx.fillStyle = 'green';
ctx.fillRect(this.x+this.size/5,this.y+this.size/5,this.size-this.size/5-this.size/5,this.size-this.size/5-this.size/5);
};
BOT.prototype.mape = function() {

while(true){

var newNodes = [];
for(var i = 0;i<this.numberedNodes.length;i++){

this.test.x = this.numberedNodes[i][1]-1;
this.test.y = this.numberedNodes[i][0];

var testBlock = this.map[this.test.y][this.test.x];
if(testBlock==='.'){
this.mapPoints[this.test.y][this.test.x]=1;
newNodes.push([this.test.y,this.test.x]);
}
this.test.x = this.numberedNodes[i][1]+1;
this.test.y = this.numberedNodes[i][0];

var testBlock = this.map[this.test.y][this.test.x];
if(testBlock==='.'){
this.mapPoints[this.test.y][this.test.x]=1;
newNodes.push([this.test.y,this.test.x]);

}
this.test.x = this.numberedNodes[i][1];
this.test.y = this.numberedNodes[i][0]+1;

var testBlock = this.map[this.test.y][this.test.x];
if(testBlock==='.'){
this.mapPoints[this.test.y][this.test.x]=1;
newNodes.push([this.test.y,this.test.x]);

}
this.test.x = this.numberedNodes[i][1];
this.test.y = this.numberedNodes[i][0]-1;

var testBlock = this.map[this.test.y][this.test.x];
if(testBlock==='.'){
this.mapPoints[this.test.y][this.test.x]=1;
newNodes.push([this.test.y,this.test.x]);

}
ctx.fillStyle = 'red'
}
this.numberedNodes = newNodes;
if(this.numberedNodes.length===0){
break;
}
for (var i = this.mapPoints.length - 1; i >= 0; i--) {
for (var u = this.mapPoints[i].length - 1; u >= 0; u--) {
if(this.mapPoints[i][u]>0){
ctx.fillRect(u*BlockSize,i*BlockSize,BlockSize,BlockSize);}
}
}
}
console.log(this.mapPoints)

/*
[
'BBBBBBBBBB',
'B.......FB',
'B........B',
'BB..SBBBBB',
'B........B',
'B.BBBBBB.B',
'B......B.B',
'B.BBBBBB.B',
'B........B',
'BBBBBBBBBB',

*/

};
var bot = new BOT(map);bot.mape();
for(var i = 0;i<map.length;i++){
for (var u= 0;u<map[i].length;u++) {
allBlocks.push(new Block(u*BlockSize,i*BlockSize,BlockSize,map[i][u]));
console.log(allBlocks[0])
if(map[i][u]==='S'){
bot.setStart(u*BlockSize,i*BlockSize,u,i);
}
}
}


bot.mape();
var game = setInterval(function(){
for(var i = 0;i<allBlocks.length;i++){allBlocks[i].draw();
}
alert(0);
bot.draw();
if(bot.canMape===true){
bot.mape();}
console.log(bot.mapPoints)
},100);


</script>
</body>
</html>

Avatar of jacobsperber2

I want to play you!