Coding Chess Language(*.chess)

Sort:
Avatar of Anonymous_M-01

well its crazy and i should post it to chess.com beta.

for variants,there is a lot of things creators need,but staffs is busy.so why dont we do this ourselves?so i think about this(inspired be TimeVeteran)

add a box:"push *.chess program here."push the txt(or *.chess,if we get)into it.

simply,break the rules and turn them into minor ones(like fatal capture->capture dies+kings cannot capture),or code. new rules(e.g. summon pawns around the royak per move)

Avatar of Anonymous_M-01

Class halfCrazyhouse(crazyhouse){

  • define __super():
  • ----pass;
  • define run():
  • ----if(capture(^){
  • ----selectPiece(){
  • --------if(~){bankPiece.add(~);
  • ----else{pass;}
  • }

// lol

Avatar of wolyn

Just yesterday I was thinking about how to break the giveaway rule into simple parts
capturing: optional, mandatory, forbidden
capturing of the last piece on the board: win, loss
stalemate: win, draw, loss or pwin, ploss
points for capturing get the player: active, passive

Avatar of Anonymous_M-01

wow thats a lot

but for me i just

giveaway->compulsory capture+no piece win+stalement win+focing no royal

Avatar of Makesteamgamesfree

//this is c++

#include<bits/stdc++.h>

using namespace std;

int main()

{

----piece N[101]={'knight'};

----for(int i=1;i<=board.size();i++)

----{

--------if(i%2==0)

--------placepiece(N[i]);

----}

----cout<<board;

----return 0;

}

Avatar of Makesteamgamesfree

//this is a rule

#include<bits/stdc++.h>

using namespace std;

import "apply"// yeah i made that one out

void rule()

{

----cin>>'explode range';

----for(int i=1;i<=range;i++)

----{

--------if(piece!='pawn')

--------EXPLODE_IT_LOL();

--------else

--------continue;

----}

}

int main()

{

----apply(rule);

}

Avatar of C4mil011

We actually need this

Avatar of thundertoad2379
hutianmin1 wrote:

//this is a rule

#include<bits/stdc++.h>

using namespace std;

import "apply"// yeah i made that one out

void rule()

{

----cin>>'explode range';

----for(int i=1;i<=range;i++)

----{

--------if(piece!='pawn')

--------EXPLODE_IT_LOL();

--------else

--------continue;

----}

}

int main()

{

----apply(rule);

}

Lol, but too overpowered.

Avatar of Anonymous_M-01
wolyn wrote:

Just yesterday I was thinking about how to break the giveaway rule into simple parts
capturing: optional, mandatory, forbidden
capturing of the last piece on the board: win, loss
stalemate: win, draw, loss or pwin, ploss
points for capturing get the player: active, passive

uh I know what did you say now

2nd can just combine with statement or regicide(regicide win/loss)

Avatar of Geowel0807

for me i would just do this:

(automatic checkmate lol)

/kill@e=/lfoz [{opponent}]

Avatar of wolyn

@KingSacrificingGotta
There is a way how to make a non-royal king even without the giveaway rule

Avatar of Anonymous_M-01

how?

Avatar of wolyn

Place the trans parent royal brick in the corner

Avatar of thundertoad2379
Geowel0807 wrote:

for me i would just do this:

(automatic checkmate lol)

/kill@e=/lfoz [{opponent}]

(Minecraft command lol)