sunfish
NumPy
Our great sponsors
sunfish | NumPy | |
---|---|---|
12 | 272 | |
2,885 | 26,360 | |
- | 1.9% | |
2.5 | 10.0 | |
3 months ago | 3 days ago | |
Python | Python | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sunfish
-
funAndEasyToUse
The NNUE version does but the non-NNUE version doesn't use numpy. That numpy import is for a neural network based evaluation functions. The base engine still plays at a strong human level and doesn't use numpy to do any of the heavy lifting. It does rely on itertools and collections though.
-
Python is slow, garbage language!
I'm currently working on a chess bot in C++. The literature and common sense tells you that faster is better, which was my main reason for choosing C++. Then I discovered Sunfish on GitHub that in around 400 lines of Python (without any low level libraries like ctypes) and it still beat me somewhat convincingly. It was definitely fast enough.
-
Easy to read chess engine source code
Just one file: Sunfish.py
-
This Week In Python
sunfish – A Python Chess Engine in 111 lines of code
- Sunfish is a simple, but strong chess engine, written in Python
-
Looking for mod friendly python chess program.
https://github.com/thomasahle/sunfish sunfish is a pretty simple one that uses piece square tables for evaluating positions. Wouldn’t be too difficult to change or even tune
-
sunfish VS Synergy-Chess - a user suggested alternative
2 projects | 17 Jun 2022
-
Look what I found here. I used to play with it a lot because I have no friends. Do you guys have something similar?
It's from 1990. My father passed it down to me. It works... Uhmm.. idk. There's a proprietary chess engine built in. It says it's around 1700 elo points strong. I am a big noob when it comes to chess engines but if you're interested in learning you can check out sunfish , but (Python) programming skills are required.
-
The Kilobyte's Gambit: Can you beat 1024 bytes of JavaScript [at chess]?
Incomprehensible scheiße code. I looked around and I like this one because it has "meta-level" definition of movements and liitle bit of strategy. You could implement context-free chess games with varying rules for us congenitally lazy and dull-witted. https://github.com/thomasahle/sunfish/blob/master/sunfish.py
-
Can you defeat a chess engine written in 1KB of Javascript?
sunfish https://github.com/thomasahle/sunfish (sunfish is the most compact and still understandable code in my opinion)
NumPy
-
Dot vs Matrix vs Element-wise multiplication in PyTorch
In NumPy with @, dot() or matmul():
- NumPy 2.0.0 Beta1
-
Element-wise vs Matrix vs Dot multiplication
In NumPy with * or multiply(). ` or multiply()` can multiply 0D or more D arrays by element-wise multiplication.
- JSON dans les projets data science : Trucs & Astuces
-
JSON in data science projects: tips & tricks
Data science projects often use numpy. However, numpy objects are not JSON-serializable and therefore require conversion to standard python objects in order to be saved:
-
Introducing Flama for Robust Machine Learning APIs
numpy: A library for scientific computing in Python
- help with installing numpy, please
-
A Comprehensive Guide to NumPy Arrays
Python has become a preferred language for data analysis due to its simplicity and robust library ecosystem. Among these, NumPy stands out with its efficient handling of numerical data. Let’s say you’re working with numbers for large data sets—something Python’s native data structures may find challenging. That’s where NumPy arrays come into play, making numerical computations seamless and speedy.
-
Why do all the popular projects use relative imports in __init__ files if PEP 8 recommends absolute?
I was looking at all the big projects like numpy, pytorch, flask, etc.
-
NumPy 2.0 development status & announcements: major C-API and Python API cleanup
I wish the NumPy devs would more thoroughly consider adding full fluent API support, e.g. x.sqrt().ceil(). [Issue #24081]
What are some alternatives?
stockfish - Integrates the Stockfish chess engine with Python
SymPy - A computer algebra system written in pure Python
Auto-Chess - A chess bot that automatically calculates the best moves and plays them for you
Pandas - Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more
Synergy-Chess - system that allows you to simultaneously start 8 chess engines and obtain a single move through the majority criteria and of score.
blaze - NumPy and Pandas interface to Big Data
nanochess - Deobfuscation of the Toledo Javascript Chess
SciPy - SciPy library main repository
Play-online-chess-with-real-chess-board - Program that enables you to play online chess using real chess boards.
Numba - NumPy aware dynamic Python compiler using LLVM
bootOS - bootOS is a monolithic operating system in 512 bytes of x86 machine code.
Nim - Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).