#Making a chess game

126 messages · Page 1 of 1 (latest)

marsh radish
marsh radish
marsh radish
steady coyote
#

so where is this game?

marsh radish
steady coyote
#

so did you program the ai?

marsh radish
#

Using Stockfish and Arasan as engines

clever quiver
#

Nice UI

marsh radish
marsh radish
steady coyote
#

are you gonna make it like an online game?

marsh radish
#

No online mode planned. We already have many online chess games. This game will be a chess club sim with NPCs and a strong focus on short tournaments: round robin, swiss, match play, and exotic modes as King of the Hill, last survivor and staged round robin.

marsh radish
#

AI now surrenders when the position is clearly lost. At low levels, the AI makes mistakes, sometimes big mistakes

marsh radish
marsh radish
marsh radish
#

The training room

marsh radish
#

The tournament hall

marsh radish
marsh radish
#

AI can offer draw now

marsh radish
#

The chess coach

marsh radish
young scroll
#

Very interesting, nice job!

marsh radish
marsh radish
#

Profiles

marsh radish
#

Working on the tutorial

marsh radish
#

Low rated NPCs can make big mistakes, just like in real life. This has been one of the hardest things to code.

marsh radish
#

Working on the draws and pairings

marsh radish
#

Tournament configuration screen

marsh radish
marsh radish
#

Tuning the threshold that causes the AI to give up when at a clear disadvantage

marsh radish
marsh radish
#

25 NPCs added

static gust
marsh radish
# static gust how did you integrate stockfish?

I coded a python script that acts as a server/gateway between Godot and the engine, Arasan, Stockfish or any UCI compliant engine. The Python gateway and Godot use UDP to send and receive moves and commands

static gust
#

then you have to embed python

#

and python is fat

marsh radish
marsh radish
#

AI offering draw

marsh radish
#

AI players' portraits

marsh radish
marsh radish
#

Round-robin tournaments done!

clever quiver
marsh radish
#

Refactoring the python pipeline that connects Godot and the chesd engine ⚙️

marsh radish
marsh radish
marsh radish
marsh radish
#

More progress in the Swiss tournament mode

marsh radish
#

Games are saved in PGN format now

marsh radish
#

Adding the in-game help

steady coyote
#

@marsh radish as you're making a chess game, should i assume that you play chess?

#

If so, what's your chess rating?

marsh radish
#

I played a lot of chess in the past and now I was looking for a casual chess game. I didn't find what I was looking for, so I'm making my own chess game

#

My max rating was 2200. It should be at 1600-1800 now

steady coyote
#

man

#

can you give me some tips on how to improve. I was almost gonna cross 1300 and reach to 1400 and yet, i started loosing at a constant rate and now my rating is 1200 something...

#

Would you like to play a game with me

#

that's what has happened to me

marsh radish
#

I could be wrong, but I believe online blitz ratings are not as reliable as classic chess ratings. I do not like online chess because there are a lot of fake accounts, cheaters and uneducated players that don't respect the basic etiquette rules

steady coyote
#

wait, so you mean you're real life rating was 2200?

marsh radish
#

...and for that reason I'm making a casual offline chess game with tournaments 😄

#

My rating was Fide official rating earned in classical chess tournaments

#

Not sure how Blitz online rating compares with classical chess rating

steady coyote
#

well we don't have that stuff here so idk

marsh radish
#

I do not play online chess, sorry

steady coyote
#

oki

marsh radish
#

The analysis room

clever quiver
#

holy shit, it really is shaggy

marsh radish
#

Yes. The game has four top level players, and Shaggy is one of them 😄

marsh radish
static gust
#

i see the pun

clever quiver
#

Who's making the art?

static gust
#

the one dude?

marsh radish
clever quiver
#

nice lol

marsh radish
#

Working on the analysis board

marsh radish
static gust
#

any arrows?

marsh radish
#

Not yet 😢

#

Too much work. Almost no progress

marsh radish
#

Working in the code to break ties in round-robing tournaments

static gust
#

arrows are quite easy to make

#

and quite fun to use

#

i recommend

#

also tip, if you want them transparent, use a seperate viewport and make the viewport transparent, then they wont overlap funny

marsh radish
#

Yes, the idea is to use arrows to signal the best move when user activates the analysis mode. Not sure about using a separate viewport or a canvas layer. I had no problems in the past with canvas layers.

marsh radish
marsh radish
static gust
#

no arrows xd

marsh radish
#

No arrows so far 😆

marsh radish
#

Analysis detects and suggests book moves now

#

...and analysis is a little bit better now

marsh radish
#

Analysis detects mate now

marsh radish
#

To do list:

  • Save analyzed games
  • Sounds
  • Music
  • Recover tournaments
  • NPC profiles
    ...and done
marsh radish
#

Working on the last features of the game

marsh radish
static gust
#

how did you make all the backgrounds

#

they look vaguely 3d while also not, its cool

fickle fog
#

Dam, that's a lot of effort man! Are you gonna upload it to mobile?

static gust
#

why though

fickle fog
marsh radish
marsh radish
static gust
#

i integrated stockfish via wasm. and then i regretted not doing a engine module

#

if you use a engine module you get cross platform-ness for free

marsh radish
#

Fixed an annoying bug in the analysis board. Next step is to link the game with the Steam library 🤞

crisp flare
#

HI, i really like the ui and the concept of the project

#

but/ I am pretty good chess player :) so i would say that for black taking the white queen is a bad move, because white is up 2 pieces.

#

so did you integrated stockfish here?

marsh radish
#

(after 24 gxh3 the AI player resigned)

#

In my personal experience playing chess at a club, if someone try to keep on playing being two pieces down, all players will mock him for the rest of his life 😆

crisp flare
marsh radish
#

No, I do not play online chess

crisp flare
marsh radish
#

Thanks but I rather decline. I do not enjoy online chess

marsh radish
#

AI players make sore loser comments after losing a game now

static gust
#

can i suggest "it was the angles"

#

and "was too dark"

marsh radish
#

"It was an unfair game. The board was tilted with your pieces on the high ground"

#

"My pieces were all in the wrong place by accident"