Garry's Mod Leaks

Chess & Checkers 12/12/2017

Submitted by WiredFox1, , Thread ID: 64790

Thread Closed
WiredFox1
Novice
Level:
0
Reputation:
0
Posts:
34
Likes:
6
Credits:
335
12-12-2017, 03:46 AM
This post was last modified: 12-12-2017, 03:47 AM by WiredFox1
#1
GmodStore:

https://www.gmodstore.com/scripts/view/2...d-checkers

Download(MEGA):

Content locked
This content has been locked. Please login or register in order to unlock it.


Description


A chess board with all standard chess rules, including promotion, castling, and en passant, and a draughts/checkers board with English Draughts/Straight Checkers rules.
Game boards can be placed by admins. Game board positions can be saved with the "/chesssave" or "/draughtssave" commands.

Installation

To install, simply drop the addon into your garrysmod/addons/ folder and restart the server. Game boards can be spawned from the spawnmenu in the Entities tab.

Features
  • All standard piece movement rules
  • Position saving feature (Say "/chesssave" or use the console command "chess_save" to save)
  • Captured peices move to the side of the board, so it is easy to count up
  • The board will highlight your currently selected square
  • The board will highlight all positions your currently selected piece can move, even if you select an enemy to piece to see their moves
  • Admin tool for placing chess boards (chess_admin_tool)
  • [Chess] Castling rules are implemented
  • [Chess] Pawn promotion is implemented
  • [Chess] En passant is implemented
  • [Chess] Fifty-move rule. If in the last 50 moves there were no captures or pawn moves, either player may declare a draw
  • [Chess] Threefold repetition rule. If the same board position occurs three times, either player can declare a draw
  • [Chess] Stalemate rules. If a player cannot move when it is his turn, but is not in check, the game is a draw
  • [Chess] Insufficient material rules. If neither player has the materials to checkmate, the game is a draw
  • [Chess] Movement restrictions during check. You cannot make a move if it leaves you in check, or puts you in check
  • [Chess] Game is over at checkmate. That is, it's a players turn to move, they are in check, and have no valid moves
  • [Draughts] Game is over when you capture all enemy pieces, or they have no valid moves
  • [Draughts] Moving a piece to the end of the board promotes it to a king. Kings can move backwards
  • [Draughts] If a player can capture a piece, they must
  • [Draughts] Multi-jump rules implemented
  • [DarkRP or Pointshop] Wagering system! You can bet against your opponent
  • HatsChat2integration: If you have HatsChat2 installed, game messages will have an extra icon!
FAQ

I want to try this in single player before putting it on my server, is this possible?

You can play against yourself with the command "chess_debug 1". The game will then start with only one player. Turns aren't enforced, and you can move pieces for both sides.

How does the rating system work?

The game boards use anElosystem, meaning the score earned or lost for a game depends on the difference in rating of the two players. Win against someone higher than you to earn more score.

How do I spawn the boards?

There is an admin tool available, "chess_admin_tool". It should be possible to spawn this via your spawn menu or admin mod. Left click will spawn a board, right click will remove the board you're looking at, and reload will bring up a menu. Alternatively, if your gamemode has a spawn menu, you will be able to spawn them through the Entities tab.

How do I save the boards?

You can use the admin tool, as listed above. Alternatively, you can use the console command "chess_save" or the chat commands "!chessave", "!savechess", "/savechess", "/chesssave", or any of the above with the words "draughts" or "checkers" instead of chess. This will save all of your game board's positions to be reloaded when the server restarts or is cleaned up.

What rules are enforced in Chess?

All standard rules should be enforced properly. Notable rules include: Piece move rules; Capture rules; Check and Checkmate rules; Promotion rules; En Passant rule; Castling rules; Stalemate and Draw conditions.

What rules set does Draughts/Checkers use?

The draughts/checkers board uses standard British Draughts/American Checkers rules. The notable features of this rule set are: 8x8 board; If you can capture, you must; No "flying kings".

Is there any way to move the camera while playing?

Holding alt will enable "Free look" mode.

Support

This addon will be kept compatible with the latest official version of DarkRP, and hopefully other gamemodes, for as long as it is available here. If you have any issues, do not hesitate to open a support ticket.Support will only be provided via support tickets.
1

RE: Chess & Checkers 12/12/2017

acquilarbr
Newbie
Level:
0
Reputation:
0
Posts:
13
Likes:
0
Credits:
30
13-12-2017, 01:24 AM
#2
what an interesting addon! i will definetly add this to my server!

RE: Chess & Checkers 12/12/2017

bree
Lurker
Level:
0
Reputation:
0
Posts:
3
Likes:
0
Credits:
6
13-12-2017, 01:51 PM
#3
i hope this works this is a really cool addon man woooooo

RE: Chess & Checkers 12/12/2017

NLREBORN
Newbie
Level:
0
Reputation:
0
Posts:
12
Likes:
0
Credits:
3
14-02-2018, 09:10 PM
#4
I am very thankful, I am really looking forward to this.

RE: Chess & Checkers 12/12/2017

MemeLeaker
Money Maker
Level:
0
Reputation:
10
Posts:
200
Likes:
20
Credits:
242
19-02-2018, 04:00 PM
#5
really cool for any server to be honest thanks for the share man!!

RE: Chess & Checkers 12/12/2017

Coffee1444
Novice
Level:
0
Reputation:
0
Posts:
41
Likes:
1
Credits:
0
19-02-2018, 04:02 PM
#6
very correct this is an amazing script thanks so much omg join my server tiltgamingrp

RE: Chess & Checkers 12/12/2017

loper324
Junior Member
Level:
0
Reputation:
0
Posts:
59
Likes:
1
Credits:
4
18-06-2018, 02:47 PM
#7
There's been a few updates since then that fixes issues and exploits, any chance you can update this?

RE: Chess & Checkers 12/12/2017

xxplugin1
Member
Level:
3
Reputation:
0
Posts:
125
Likes:
5
Credits:
2
02-07-2018, 12:53 AM
#8
thanks, great script working without errors and back doors

Users browsing this thread: 1 Guest(s)