#Making a chess game
126 messages · Page 1 of 1 (latest)
AI vs AI game
so where is this game?
In development. Working to release a demo on Itch in a few days
so did you program the ai?
Using Stockfish and Arasan as engines
Nice UI
Auto-scroll in list of moves fixed
Clocks are working now
are you gonna make it like an online game?
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.
AI now surrenders when the position is clearly lost. At low levels, the AI makes mistakes, sometimes big mistakes
Detecting draw conditions
Sounds added
The training room
The tournament hall
AI can offer draw now
The chess coach
Very interesting, nice job!
Opponent portraits
Profiles
Working on the tutorial
New profile and guided tour
Low rated NPCs can make big mistakes, just like in real life. This has been one of the hardest things to code.
Working on the draws and pairings
Tournament configuration screen
Tournament mode selection version 2
Tuning the threshold that causes the AI to give up when at a clear disadvantage
Tournament name generator
25 NPCs added
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
Tournaments
AI players' portraits
Round-robin tournaments almost finished
Round-robin tournaments done!
didn't know shaggy was in the game
Refactoring the python pipeline that connects Godot and the chesd engine ⚙️
King of the Hill tournament mode
The game now spawns random players when there are not enough players in the club to fill the tournament field
Swiss tournament mode added (up to 200 players)
More progress in the Swiss tournament mode
Games are saved in PGN format now
Adding the in-game help
@marsh radish as you're making a chess game, should i assume that you play chess?
If so, what's your chess rating?
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
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
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
wait, so you mean you're real life rating was 2200?
...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
well we don't have that stuff here so idk
wanna have a go?
I do not play online chess, sorry
oki
holy shit, it really is shaggy
Yes. The game has four top level players, and Shaggy is one of them 😄
i see the pun
Who's making the art?
the one dude?
The solo dev 😄
nice lol
Working on the analysis board
any arrows?
Working in the code to break ties in round-robing tournaments
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
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.
Another small step
Game analysis working 🎉
no arrows xd
No arrows so far 😆
Analysis detects and suggests book moves now
...and analysis is a little bit better now
Analysis detects mate now
Analysis is fully operational now
To do list:
- Save analyzed games
- Sounds
- Music
- Recover tournaments
- NPC profiles
...and done
Working on the last features of the game
Loading tournaments done!
Dam, that's a lot of effort man! Are you gonna upload it to mobile?
why though
So I could try it
I made 3D rooms in godot and took screenshots
Probably not. It's not easy to port the chess engine (arasan) to mobile nor the UDP gateway between Godot and the chess engine
Ah, I see.
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
Fixed an annoying bug in the analysis board. Next step is to link the game with the Steam library 🤞
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?
I'm using Arasan, with a few tricks to force blunders in low elo NPCs. NPCs over 1800 are hard to beat
(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 😆
ok, you played in the club.. cool. Do you play on ches.com?
No, I do not play online chess
do you want we can play chess in discord "chess park".
Thanks but I rather decline. I do not enjoy online chess
AI players make sore loser comments after losing a game now