Space Engineers

Space Engineers

Nedostatek hodnocení
Playable Chess Script
2
2
   
Ocenit
Přidat do oblíbených
Oblíbeno
Odebrat z oblíbených
Značky: other_script
Velikost souboru
Přidáno
Aktualizováno
416.784 KB
9. čvn. 2020 v 13.14
24. srp. 2022 v 13.56
Poznámky ke změnám (4) – zobrazit
Abyste mohli použít tuto položku, musíte vlastnit DLC.

Klikněte na „Odebírat“ pro stažení položky
Playable Chess Script

Popis
This is a working chess game script. The game uses console blocks to display the board.

You can download premade blueprints here:
With 2 tables: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2125297422
With 1 table: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2125137462


The game should support all moves.
The game autosaves after every move, although currently not in remote play.


How to play
Players move their pieces by first selecting the piece they want to move and then the square they want to move the piece to.
The square is selected by first selecting the x- coordinate (horizontal) and then the y- coordinate (vertical).

If set-up correctly the coordinates are selected by pressing 1-8, first for the x coordinate and then for the y- coordinate.
9 is for erasing the previously inputted coordinate.

Remote play
For remote play, set is_remote_play to true.
For remote play both grids need to have an antenna and they need to be within 50km of each other.
The antenna can have it's range set to 0 if needed.
The game should automatically "pair" with the other party.
When remote play is enabled, the colour (White/Black) you use on the toolbar doesn't matter.

Set-up
Notes:
The game is designed to be played using a toolbar for controls.
You can use any toolbar, but remotes are recommended.

Requirements:
1 Projection table with tag [Chess] in its name.

Recommended:
2 Remotes, 1 for each player.
2 Projection tables with tags [Chess:1] and [Chess:2]

Toolbar set-up:
1. Find the Programmable block running this script
2. Select Run
3. Write "W:1", "W:2",... or "B:1", "B:2",... as the argument.
Where W is for White and B for Black.
And 1-9 are for the toolbar slot number.

Example argument: "W:8" without the "", is for White player number 8
Počet komentářů: 5
OzymanJeff 21. srp. 2022 v 19.41 
@Apina-32 Thank you good Sir!!!
Apina-32  [autor] 21. srp. 2022 v 17.22 
Thank you for the comment. Should be working now. Also made remote play easier to turn on.
OzymanJeff 21. srp. 2022 v 15.02 
Hey ive been playing this on my friends server and we noticed a issue where whenever a player puts another player's king in check. The checked player Cannot Block, take attacking piece. or move king out of harms way resulting in being unable to finish the game rightfully so. Just thought i would address this issue and inform you of it because i love the script and appreciate the time put into it. Hopefully this comment will result in the error being fixed!
Thanks!
SilverCyon 16. čvc. 2021 v 15.48 
This is Absolutely Amazing. Well done!
Spite 16. čvn. 2020 v 2.07 
This looks pretty cool!