zborffs / prometheus Goto Github PK
View Code? Open in Web Editor NEW♟️ UCI chess engine written in C++
License: MIT License
♟️ UCI chess engine written in C++
License: MIT License
hi,
if you are looking for some optimizations, you can first create something like Piece board[64]
plain and simple array which keeps track of all pieces and where they are and update this in makemove and unmake and only initialize at the start for the fen, this way if you want to know what piece is on square x you can simply look it up rather than looping over all pieces.
Also vectors are slow if you remove the vector logic in repetition draw you'll get a small speedup too. Maybe for the movelist too, but I dont know the maximum number of pseudolegal moves... as for totally legal moves most engines use 256 as a maximum.
Happy coding!
remove all evaluation functionality (replace with piece square tables and piece values)
iterate with specific bonuses (related to things like early development with queens etc.)
slowly add more features to accommodate trends in games
change the c-chess-cli handling (or prometheus returning) for mates so there is no hanging
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.