[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Chess engine

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 28
Thread images: 7

File: chenard_screen_shot.jpg (59KB, 618x482px) Image search: [Google]
chenard_screen_shot.jpg
59KB, 618x482px
I want to make a chess engine that favors ABSOLUTE MADMAN plays instead of optimal plays while being somewhat strong to blow the fuck out of low/medium skilled players.
How should I do it?
>>
>>60652107
Maybe just set a chess program to pick the longest/most advancing option out of the top 10 picks.
>>
File: 1492248261032.png (299KB, 540x532px) Image search: [Google]
1492248261032.png
299KB, 540x532px
Are you seriously expecting someone her to give you the answer?

>>>/g/sqt
>>
>>60652142
I don't think this is a stupid question

>>60652141
B-but I want to do it myself, its part of the fun
>>
program it to use only pawns, but use them very very well
>>
>>60652156
Funny, but impossible.
>>
Develop those along with tge ai parameters earluer
>>
>>60652107
>I want to make a chess engine that favors ABSOLUTE MADMAN plays

First, define exactly what this means.

Then write a minimax algorithm that maximizes that definition
>>
>>60652222
Very aggressive play, focus on sacrifices that have somewhat high chance of recovering some moves down the line, lots of risky plays, trying to close in for a possible mate fast, etc.
Obviously it would fail miserably against an opponent with good positional play(like GMs and other engines), but it would absolutely wreck low/medium skilled players with its zerg rush strategy
>>
>>60652222
Holy shit has noone checked those FUCKING QUADS yet
>>
>>60652268
So score positions higher if they

1. Include a sacrifice

2. Increase your chances of winning
>>
My friend said checkers is harder
>>
File: 1495684418233.jpg (43KB, 530x464px) Image search: [Google]
1495684418233.jpg
43KB, 530x464px
>>60652435
Neck yourself
>>
>>60652156
This is interesting. Does anybody know if there's a chess engine out there that does something similar, like only using knights/bishops to beat the opponent?
>>
>>60652153
>Hey guys, I just had this randumb really retarded idea. Now I just need you to explain to me how do I do it!
Please leave.
>>
>>60652107
The reason this is a stupid idea is that the days of chess being an interesting game are over, now whoever is the biggest autist wins
>>
>>60652107
>>60652153
google how to do it, at this point there should be youtube videos about how to program a chess game. After that you'd need to create some sort of layered system that will try to create the best move possible, each turn.
>>
File: toast.webm (580KB, 720x406px) Image search: [Google]
toast.webm
580KB, 720x406px
>>60652666
>>
>>60654109
That's because all the computer players are no fun. It's only fun if you play against non-skilled human players.

We should make GOOD chess AIs.
>>
>>60654226
You don't get it, fun = making mistakes. Why would someone purposefully make mistakes?
>>
>>60654373
hehe, they don't. that's what makes it so fun.
> mind boggling move
> is he just went full retard, or am i getting tricked
>>
>>60652107
A standard chess AI uses minimax trees -- it assigns scores to board positions a bunch of moves ahead, then chooses the path where its own score is maximized (given that the opponent will choose the path where its score is minimized).
If that didn't make sense to you, go learn minimax.
If it did, I can think of a couple approaches that might give MADMAN results

> 1. Give points to paths based on how far the minimax score differs from the rough estimate
This would favor results that look dumb but have good long-term results

> 2. add to enemy parent nodes a percentage of the scores of the top few children
This would weight towards moves that might have a better payoff if the opponent doesn't counter them properly

> 3. come up with some function that evaluates a "madman" score for each move and use it as a multiplier for your own scores
This is the most general but you need to figure out how to judge a move on your own
>>
>>60654109

This

There are books written on best strategies and fastest strategies

The AI in windows 7 chess will check you in 5 moves if you let it with some horses, bishops and the queen.
>>
File: pawn dreaming white.png (33KB, 500x500px) Image search: [Google]
pawn dreaming white.png
33KB, 500x500px
I like the pawn, so do a good job on those guys!
>>
File: 1495578088596.jpg (48KB, 800x420px) Image search: [Google]
1495578088596.jpg
48KB, 800x420px
>>60654682
pawns are neat
>>
>>60652268
Basically rate the value of each peice. If your sacrifice is equal to or lesser than the value of the opponents, make the move.
>>
>>60652107
Take stockfish and modify it.
>>
File: 1494366629460.jpg (105KB, 749x750px) Image search: [Google]
1494366629460.jpg
105KB, 749x750px
Can you make one capable of 12th dimensional chess?
Thread posts: 28
Thread images: 7


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.