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

Post Reply
User avatar
jp
Member
Posts: 800
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
Member
Posts: 800
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: 6280
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: 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.

User avatar
jp
Member
Posts: 800
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: 1019
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: 6280
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: 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.

User avatar
jp
Member
Posts: 800
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
Member
Posts: 800
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: 844
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
Member
Posts: 800
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)

youcanyouwill
New member
Posts: 1
Joined: Thu May 28, 2020 07:03

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

by youcanyouwill » Post

Can this mod help to hack online chess game?

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests