Space Engineers

Space Engineers

Not enough ratings
Playable Chess Script
2
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
416.784 KB
9 Jun, 2020 @ 1:14pm
24 Aug, 2022 @ 1:56pm
4 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
Playable Chess Script

Description
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://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2125297422
With 1 table: https://steamhost.cn/steamcommunity_com/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
5 Comments
OzymanJeff 21 Aug, 2022 @ 7:41pm 
@Apina-32 Thank you good Sir!!!
Apina-32  [author] 21 Aug, 2022 @ 5:22pm 
Thank you for the comment. Should be working now. Also made remote play easier to turn on.
OzymanJeff 21 Aug, 2022 @ 3:02pm 
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 Jul, 2021 @ 3:48pm 
This is Absolutely Amazing. Well done!
Spite 16 Jun, 2020 @ 2:07am 
This looks pretty cool!