chessengine's Introduction
Build: javac *.java Run: java Driver Goal: Build chess AI at 1200 ELO level. x = finished - Step 1: Correctly program in all chess rules for 2 player chess x - 1a: Figure out if a situation puts player in check - 1b: Figure out if a move is legal x - 1ba: Normal moves, no self captures, no moving through pieces except knights, etc. x - 1bb: pawns capture diagonally - 1bc: en pessant, castle, pawn promotions - 1c: Win conditions x - 1ca: If player has no valid moves x - 1caa: If in check, lose game x - 1cab: If not in check, tie game - 1cb: 3 move repetition, perpetual checks, 50 move w/ no pawn move. - Step 2: Create evaluation heuristic; this will start pretty simple. - start with standard 'pawn = 1, knight = 3, bishop = 3, rook = 5, queen = 9, king = inf' - take into account immediate captures. For instance, a queen trade is not catestrophic, as long as you can capture back. - Step 3: Use min-max with pruning, to try and find good moves. - Step 4: Play against it, build real front end.
chessengine's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.