[Mod] Real Chess Game [git] [realchess]

Post Reply
User avatar
jp
Banned
Posts: 947
Joined: Wed Dec 18, 2013 09:03
GitHub: kilbith
Location: France

[Mod] Real Chess Game [git] [realchess]

by jp » Post

Real Chess

Bored of digging blocks? Invite your friends and play a real chess game!

This chess is GUI-based and follows the same rules as in real life:
  • Deterministic moves.
  • Checkmate.
  • Turn-by-turn serie.
  • Castling and pawns promotion when reaching the end of board.
  • etc.
Everyone who access the formspec can watch the activity in real-time (but only the 2 players are able to move their respective pieces).

Download | Sources | Bug report

Image
Last edited by jp on Sat Aug 25, 2018 12:44, edited 6 times in total.

User avatar
Don
Member
Posts: 1643
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [Mod] Real Chess Game [git] [realchess]

by Don » Post

Wow. That is awesome!
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here

User avatar
qwertymine3
Member
Posts: 202
Joined: Wed Jun 03, 2015 14:33
GitHub: Qwertymine
In-game: qwertymine3

Re: [Mod] Real Chess Game [git] [realchess]

by qwertymine3 » Post

jp wrote: This chess is formspec-based and follows the same rules than in real life :
I looked through the source and didn't see any way to 'castle' or use 'en passant', if this is the case, I think it is a bit early to say that it follows the real life rules

Please correct me if I'm wrong

Also that 'than' should be an 'as' :)

EDIT: I also can't find any code for promotion of pawns - this claim is less thoroughly checked though
Avatar by :devnko-ennekappao:

User avatar
qwertymine3
Member
Posts: 202
Joined: Wed Jun 03, 2015 14:33
GitHub: Qwertymine
In-game: qwertymine3

Re: [Mod] Real Chess Game [git] [realchess]

by qwertymine3 » Post

I have found a few more issues with the accuracy of the chess, will add as new issues in the issue tracker
Avatar by :devnko-ennekappao:

User avatar
jp
Banned
Posts: 947
Joined: Wed Dec 18, 2013 09:03
GitHub: kilbith
Location: France

Re: [Mod] Real Chess Game [git] [realchess]

by jp » Post

Castling and pawns promoting supported in current git state.

User avatar
Ferk
Member
Posts: 337
Joined: Tue Aug 18, 2015 17:18
GitHub: Ferk

Re: [Mod] Real Chess Game [git] [realchess]

by Ferk » Post

That's a cool idea.
I didn't realize formspecs and inventories could be suitable for something like this. Nice!
{ ☠ Dungeontest ☠ , ᗧ••myarcade•• }

User avatar
Diamond knight
Member
Posts: 475
Joined: Sun Apr 19, 2015 19:50
GitHub: Diamondknight
In-game: Ferrumprinceps
Location: Chilling in Constantinople
Contact:

Re: [Mod] Real Chess Game [git] [realchess]

by Diamond knight » Post

maybe there could be a reward for winning or something

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: [Mod] Real Chess Game [git] [realchess]

by rubenwardy » Post

Diamond knight wrote:maybe there could be a reward for winning or something
Add awards? to depends.txt
Then add this somewhere in the file, like you do with minetest.register_node:

Code: Select all

if minetest.get_modpath("awards") then
	awards.register_achievement("realchess:win",{
		title = "Chess Winner",
		description = "Win a chess game"),
		prizes = {"default:stone 99"}
	})
end
Finally, after this line https://github.com/kilbith/realchess/bl ... t.lua#L536
add:

Code: Select all

if minetest.get_modpath("awards") then
	awards.give_achievement(playerName, "realchess:win")
end
The award will only be given once.
Last edited by rubenwardy on Mon Nov 02, 2015 20:36, edited 2 times in total.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
jp
Banned
Posts: 947
Joined: Wed Dec 18, 2013 09:03
GitHub: kilbith
Location: France

Re: [Mod] Real Chess Game [git] [realchess]

by jp » Post

No sorry, I won't add an award to this mod, since a winning can be faked by a player for earning the award perpetually. Thanks for the proposal anyhow.

User avatar
Napiophelios
Member
Posts: 1035
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: [Mod] Real Chess Game [git] [realchess]

by Napiophelios » Post

edit:
oh damn sorry wrong topic
delete this post please

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: [Mod] Real Chess Game [git] [realchess]

by rubenwardy » Post

You don't have to give an item. Awards, iirc, are private so you're only really cheating yourself.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
jp
Banned
Posts: 947
Joined: Wed Dec 18, 2013 09:03
GitHub: kilbith
Location: France

Re: [Mod] Real Chess Game [git] [realchess]

by jp » Post

OK I might consider individually an award, but not a material prize.

User avatar
Diamond knight
Member
Posts: 475
Joined: Sun Apr 19, 2015 19:50
GitHub: Diamondknight
In-game: Ferrumprinceps
Location: Chilling in Constantinople
Contact:

Re: [Mod] Real Chess Game [git] [realchess]

by Diamond knight » Post

maybe something like a betting system where the players playing provide the reward and winner takes all

User avatar
jp
Banned
Posts: 947
Joined: Wed Dec 18, 2013 09:03
GitHub: kilbith
Location: France

Re: [Mod] Real Chess Game [git] [realchess]

by jp » Post

Update : project moved on Minetest Mods.

bark
Member
Posts: 35
Joined: Thu Sep 24, 2015 13:25
In-game: bark

Re: [Mod] Real Chess Game [git] [realchess]

by bark » Post

I love this mod! The fact that other players can watch the game makes it even cooler. I found a couple of bugs, and I have some suggestions for improvement.

* Bug: A player that is in check or check mate is not forced to move/protect the king.
* Bug: Game doesn't end when player is in check mate.
* Suggestion: Display both player's moves in the chatlog, not just opponent. The current state make it harder to keep track of whose turn it is.
* Suggestion: Display dead pieces on the side of the board

User avatar
GamingAssociation39
Member
Posts: 858
Joined: Mon Apr 25, 2016 16:09
GitHub: Gerold55
IRC: Gerold55
In-game: Gerold55
Location: Maryland, USA

Re: [Mod] Real Chess Game [git] [realchess]

by GamingAssociation39 » Post

Can you make this game an app for my laptop mod? Or even a checkers variant of this mod? Or both?
Jesus Is Lord and Savior!!!

User avatar
veNext​
Member
Posts: 85
Joined: Sun Dec 03, 2017 21:23
IRC: Idk
In-game: veNext

Re: [Mod] Real Chess Game [git] [realchess]

by veNext​ » Post

GamingAssociation39 wrote:Can you make this game an app for my laptop mod? Or even a checkers variant of this mod? Or both?
That would be cool

User avatar
jp
Banned
Posts: 947
Joined: Wed Dec 18, 2013 09:03
GitHub: kilbith
Location: France

Re: [Mod] Real Chess Game [git] [realchess] - Big update

by jp » Post

[Update] Backport changes from X-Decor (see here)

ZAAo
Member
Posts: 47
Joined: Tue Jul 27, 2021 16:15

Re: [Mod] Real Chess Game [git] [realchess]

by ZAAo » Post

I'm just wondering if anyone has ever forked this mod and tried to fix all the bugs/problems?

In this mod, when capturing a piece, both the attacker and "victim" are removed from the board. :(
Mostly, I've been unable to capture any pieces with a knight or bishop... are only pawns allowed to capture other pieces in this version of chess?
Castling: The king always moves TWO squares, regardless of whether castling is done to the short side or long side... in this realchess mod castling is however done by moving 2 squares to the short side and THREE squares to the long side :(

wsor4035
Member
Posts: 182
Joined: Sun Aug 11, 2019 21:23
GitHub: wsor4035
IRC: wsor
In-game: wsor

Re: [Mod] Real Chess Game [git] [realchess]

by wsor4035 » Post

a more up to date version of this ended up in xdecor
j5uBLfc6NxgersvVj5D5dIsiKDkoQb0o

ZAAo
Member
Posts: 47
Joined: Tue Jul 27, 2021 16:15

Re: [Mod] Real Chess Game [git] [realchess]

by ZAAo » Post

wsor4035 wrote:
Thu May 05, 2022 14:37
a more up to date version of this ended up in xdecor
I played on a server (Tiny creative world) yesterday and today, that has this in xdecor (running on Minetest 5.5.0, so I'm assuming the mod is up to date, if the server is) and it seems even worse in that mod :( Attacking pawns also disappear when you capture (meaning both attacker and captured piece are removed from the board). When I try to take another piece with a non-pawn (e.g. a bishop) then it does not take the piece, instead it SAYS (playername)has moved a bishop, it is now your turn (without any capture or move actually happening), and just switches sides... so it becomes the other player (colour)'s turn to play... effectively just forfeiting your turn without playing any moves. It is also NOT possible for two players to play in the same chess game. It just says that it is another player's turn... Castling is also broken as I described already (long side moves the king 3 squares in this game, while it should be 2 squares regardless of whether castling is to the short or long side).
This version of realchess doesn't even have the notation (which is also horribly incorrect, using > instead of - and x to indicate moves and captures) on the side of the game.
I guess the devs/modders involved with this realchess mod are not actually chess players :(

User avatar
jp
Banned
Posts: 947
Joined: Wed Dec 18, 2013 09:03
GitHub: kilbith
Location: France

Re: [Mod] Real Chess Game [git] [realchess]

by jp » Post

I'm the developer of the chess game. The chess worked absolutely fine back in the past (2015 when it was created), but at some point the engine's list handling behavior changed and the piece moves broke suddenly.

I will ressurect this game with a new version and a better AI (w/ multithreading support) soon.

ZAAo
Member
Posts: 47
Joined: Tue Jul 27, 2021 16:15

Re: [Mod] Real Chess Game [git] [realchess]

by ZAAo » Post

jp wrote:
Fri May 06, 2022 11:59
I'm the developer of the chess game. The chess worked absolutely fine back in the past (2015 when it was created), but at some point the engine's list handling behavior changed and the piece moves broke suddenly.

I will ressurect this game with a new version and a better AI (w/ multithreading support) soon.
Hi jp. Thanks for your reply and I'm very happy to know that you are still around and will work on fixing the mod. Chess really is a wonderful game, and it is such a shame that your mod got broken by changes in the game engine! That seems to happen to lots of good mods, which then often just die along the way :-(

Sorry if I came across as mean or insulting - I was just disappointed and frustrated, because I am a chess player and the mod was not working properly. I did not realise that it was due to the game engine...

ZAAo
Member
Posts: 47
Joined: Tue Jul 27, 2021 16:15

Re: [Mod] Real Chess Game [git] [realchess]

by ZAAo » Post

jp: I found some nice free chess textures (2D and isometric), if you are interested in using them for your realchess redo/upgrade... https://screamingbrainstudios.itch.io/isometric-chess :-)

Post Reply

Who is online

Users browsing this forum: No registered users and 27 guests