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

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

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

by jp » Sun Oct 25, 2015 17:55

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.
[Mods] Crafting GuideSpectator ModeX-Decor[+]
[Maps] New York CityMinecraft Imported Maps
[Textures] PixelBOX Reloaded

Like my stuff? Consider donating.
 

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

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

by Don » Sun Oct 25, 2015 19:24

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 » Sun Oct 25, 2015 21:22

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 » Mon Oct 26, 2015 00:16

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: 706
Joined: Wed Dec 18, 2013 09:03
Location: France
GitHub: kilbith

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

by jp » Mon Oct 26, 2015 22:23

Castling and pawns promoting supported in current git state.
[Mods] Crafting GuideSpectator ModeX-Decor[+]
[Maps] New York CityMinecraft Imported Maps
[Textures] PixelBOX Reloaded

Like my stuff? Consider donating.
 

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

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

by Ferk » Tue Oct 27, 2015 11:08

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: 425
Joined: Sun Apr 19, 2015 19:50
Location: stalker...
GitHub: Diamondknight
In-game: Ferrumprinceps

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

by Diamond knight » Mon Nov 02, 2015 17:22

maybe there could be a reward for winning or something
I came, I saw, I modded
- Imperator Ferrum Princeps the 1st of the Ferru... (too long? ok fine)
-Ferrumprincpes

My modding team:
https://github.com/Ferrumian-modding-team
https://discord.gg/FDjC2ah
 

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

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

by rubenwardy » Mon Nov 02, 2015 18:59

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: 706
Joined: Wed Dec 18, 2013 09:03
Location: France
GitHub: kilbith

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

by jp » Mon Nov 02, 2015 19:11

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.
[Mods] Crafting GuideSpectator ModeX-Decor[+]
[Maps] New York CityMinecraft Imported Maps
[Textures] PixelBOX Reloaded

Like my stuff? Consider donating.
 

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

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

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

by rubenwardy » Mon Nov 02, 2015 20:28

You don't have to give an item. Awards, iirc, are private so you're only really cheating yourself.
 

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

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

by jp » Mon Nov 02, 2015 20:34

OK I might consider individually an award, but not a material prize.
[Mods] Crafting GuideSpectator ModeX-Decor[+]
[Maps] New York CityMinecraft Imported Maps
[Textures] PixelBOX Reloaded

Like my stuff? Consider donating.
 

User avatar
Diamond knight
Member
 
Posts: 425
Joined: Sun Apr 19, 2015 19:50
Location: stalker...
GitHub: Diamondknight
In-game: Ferrumprinceps

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

by Diamond knight » Tue Nov 17, 2015 23:58

maybe something like a betting system where the players playing provide the reward and winner takes all
I came, I saw, I modded
- Imperator Ferrum Princeps the 1st of the Ferru... (too long? ok fine)
-Ferrumprincpes

My modding team:
https://github.com/Ferrumian-modding-team
https://discord.gg/FDjC2ah
 

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

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

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

by bark » Sun May 22, 2016 22:22

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: 735
Joined: Mon Apr 25, 2016 16:09
Location: Maryland, USA
GitHub: Gerold55
IRC: Gerold55
In-game: Gerold55

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

by GamingAssociation39 » Sun Dec 03, 2017 02:33

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: 66
Joined: Sun Dec 03, 2017 21:23
IRC: Idk
In-game: veNext

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

by veNext​ » Wed Jan 03, 2018 02:39

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: 706
Joined: Wed Dec 18, 2013 09:03
Location: France
GitHub: kilbith
 


Return to Mod Releases



Who is online

Users browsing this forum: Google [Bot] and 5 guests