Get an Epic Experience with Premium

Chess

Minigames Login to Add Favorites
  • 2 Likes
  • World of Warcraft
  • 511 Monthly Downloads
  • Supports: 4.0.1
  • 64,113 Total Downloads
  • Updated 10/13/2010
  • Created 12/13/2008
  • 91 Favorites
  • Project Site
  • Comments
  • Release Type: Inactive
  • License: GNU General Public License version 3 (GPLv3)
  • Newest File: 1.6
or

About Chess

A Chess program written in Lua for World of Warcraft. Why? Because I could.

Installing

Completely exit World of Warcraft, and copy the Chess directory from the Chess.zip archive to the Interface/AddOns directory where World of Warcraft was installed.

In Windows, this will usually be:

C:\Program Files\World of Warcraft\Interface\AddOns

In a Macintosh, this will usually be:

/Applications/World of Warcraft/Interface/AddOns

Usage

Menu

Type '/chess' to display a menu for starting chess games.

VS Computer Black

Start a game with the computer playing black.

VS Computer White

Start a game with the computer playing white.

VS Target

Start a game with your selected target. Your target requires version 1.4 of this AddOn to be able to play. Version 1.3 may also work; but won't accept non-queen promotions.

Find Opponent

Find another player in your realm and faction that is also looking for an opponent, and start a game with them. The odds of you actually finding someone are slim to none.

Past Games

Lists your previously played games. Clicking on an item will display that game, and let you review the history of that game. Clicking on the X will delete the game from the history.

Multiplayer

To be honest; I haven't tested multiplayer in like 2 years. It may be broken.

The position of white is first come, first serve. As soon as one player moves a white piece, the other player is forced to play black.

Playing

Click on the piece you want to move, and then click where you want to move it.

You can also drag the piece where you want it. The piece won't move unless you release the mouse button on a valid square.

Title

The title contains the names of the players, with white on the left, and black on the right.

The background of the title is the colour of the player who is to move next. It will be light or dark grey when the the game is over, or not displaying the most recent move.

If one player appears to be better than the other, the better player has their chance of winning displayed beside their name. The chance is derived by chess rankings; which the game does actually calculate, but doesn't display anywhere.

Move History

There are two arrow buttons at the bottom of the game window. Pressing them will go backwards or forwards through the game history.

You can't move pieces if you aren't viewing the most recent move.

If your opponent moves while you're viewing an older point in the game, the game will be advanced forward to the most recent move.

When transversing the game history, a window showing all the moves made will appear. You may click a specific move to view the board as it appeared after that move was made, or use the mouse wheel to scroll through the game history.

Castling

To castle, move the king to where it would be after castling. The rook will be moved for you automatically. Moving the rook will only move the rook, and not castle.

In case castling doesn't work for you; beware that the rules of chess have some somewhat strict requirements on when it's allowed:

  • The king must not have moved yet.
  • The affected rook must not have moved yet.
  • None of the squares the king passes through (i.e., the square where the rook is placed) can be accessible by the opponents pieces.

En Passant Captures

These are performed by capturing the square a pawn passed through with your own pawn. The enemy pawn will be moved back to that square and captured.

Promotions

When you try to move a pawn to the highest rank, a small window will appear under your cursor, allowing you to choose the what to promote that pawn to.

Resignation

If you click the resign button, you lose and the other player wins.

Closing the game window has the same effect as clicking the resign button.

Reloading the user interface, or logging out has the same effect as clicking the resign button when playing against another player. When playing against yourself or the computer; the game is saved and restored the next time the AddOn is loaded.

As a feature, if it is currently your turn and you're entitled to claim a draw, this will draw the game instead.

The computer will never resign.

Drawing

If it is your turn and either 50 moves have been made without a capture or a pawn move, or if the game has been in this same state (pieces in the same places, each with the exact same moves available) then you are entitled to claim a draw.

If it is your turn but those other conditions don't apply, then you can instead propose a draw. If the other player accepts, then the game ends. Note that the other player can't reject the proposal, they must either accept it or you must make a move for the game to continue.

The computer will never propose or claim a draw. It will however accept a proposed draw if 25 moves have been made without a capture or a pawn move.

Bugs

  • All computer games share the same memory pool. If you have more than one at the same time, then as the AI in one game discards unplayed game paths, the AI in the other games will snatch it for themselves, leaving the first with no memory to explore. It will still be able to play, but will do so very badly.
  • There needs to be a time limit for making moves, so that someone will eventually lose if they stop playing.

Incompatibilities

Versions before 1.3 are completely incompatible with later versions. Version 1.3 won't accept non-queen pawn promotions from versions 1.4 and later.

Credits

The large chess piece images were drawn by Maurizio Monge and released under the LGPL2 license. The original files from which they were created are in the Fantasy directory.

The small chess figure images were generated from the freeware font FigurineSymbol created by Armando Hernández Marroquín.

Everything else was created by myself, Tyson Brown, and is covered under the GPL3 license.

tag 1.6
3755509ba5e5120186922629fd85d445bebc8a11
smariot <smariot@gmail.com>
2010-10-13 15:36:47 +0000

Chess 1.6: The return of the missing textures edition.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)

iEYEABECAAYFAky10j8ACgkQPImfE9laVHJ0SwCeOPCYeatakVvGlDj9rT+4njIr
BCcAni42Sr6in+ai4cnsMuoGG7/ROk5W
=ZMp1
-----END PGP SIGNATURE-----

--------------------

smariot:
    - Fixed the missing textures.
    - Update TOC version.
    - Fixed the reversed "." and "..." on move numbers.

Comments

First Previous Page 2 of 2 Next Last
  • #15
    Suggestion: Change the King from the Mothership to the Viking (viKING) model. It's got a bit more humor to it. You could also then make the King primarily stay in ground mode, but during castling the viking could change to flight mode to fly over the castle. This would make the castling move look a bit more cool too.
  • #13
    I cant play chess with my target, it says it asks them but they say they dont see anything, any help?
  • #14
    Then it might very well be broken. I'm not in a position to fix it right now though, sorry.
  • #11
    Could we some how get a chat window attached underneath the board, so we don't have to miss out on conversations like I do with the bejeweled mod.. XD
  • #12
    I'm not playing Warcraft right now (and hence won't be modifying the AddOn) but I'm fairly sure I had a button you could press to whisper your opponent.
  • #10
    Amazing. Will try out this weekend. High on my list of things I'd like to see for this addon would be the ability to minimize the game while the opponent thinks, and a scale option for the chess UI.

    Fun idea that would probably take too long to implement: a way to have players in a game remain in the channel, and report that they are in a game when asked to play. Then users could see that "Bob is in a match with Joe" and could request one to view the status of the game. Bob/Joe would whisper all the algebraic moves made, and the user could then spectate!
  • #8
    Is there a way to make it smaller? Even something I could change in the code would be appreciated. :D
  • #9
    You can probably change line 540 of chess.lua

    Where it says board:SetScale(1), you can make it something smaller.
  • #5
    How finding an opponent works:

    1: You join the channel 'chess'.
    2a: If you see someone join the channel, you ask request a game with them. If they accept, you leave the channel.
    2b: If someone else was in the channel, they'll request a game with you. You auto-accept the request and leave the channel.

    The addon accepts AddonMessages with the prefix 'SChs'.

    Each message can contain multiple commands separated by '|' characters. Each command has its parameters delimited with ':'. Unknown parameters and commands are ignored.

    The commands are:

    j - Request a game. Displays a message if they weren't looking for an opponent.
    a - Accept a requested game. Ignored if a game with the sender wasn't requested.
    s:xxxx - Tell them our chess rank. Will only accept numbers between 0 and 3000. This is included in the same message requesting or accepting a game. 1500 is average.
    m:xxxx - A chess move, in algebraic chess notation. Can only be sent on your own turn.
    m:1-0 - Resign - Only black can send this.
    m:0-1 - Resign - Only white can send this.
    m:½-½ - Draw, or propose a draw if you aren't entitled to one, or accept a proposed draw. Can only be sent on your own turn, unless in response to a proposed draw.

    You can only have one game at a time with any one player (there is no way to tell which move goes with which game otherwise), but you can have multiple games with multiple people at the same time.

    There is no way to specify who is white and who is black. Both player start the game as white. After one player moves, the other becomes black.

    If you want to extend this protocol, the version should probably be first parameter of the 'j' and 'a' commands.
  • #3
    do the other PLayer HAVE to have the same Add-on?
  • #4
    In 1.1 the other player would see a whisper containing your move in algebraic chess notation, and they could whisper back their own move, but I don't think anybody is going to want to do that.

    In the newer versions, whispering isn't an option, and I'm pretty sure no other AddOns use the same protocol, so yes, both players need the same AddOn.
  • #6
    thats gotta be pretty hard to find a player with Chess... :\
  • #7
    Yeah, but at least it includes AI to play with.
  • #2
    I don't know you but I love you already!
  • #1
    coudl you add the wowchess layout?

    http://wowui.worldofwar.net/?p=mod&m=3018
  • To post a comment, please login or register a new account.
Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster addon downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

Leaguepedia PAX Skin Giveaway