diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2026-11-08 15:53:28 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2026-11-08 15:53:28 +0100 |
| commit | 5327a4d14bf02d49a02a698dc2b011baa73145ac (patch) | |
| tree | a2031a0767b80227f9eb6f599b09b6674360ccdc /TODO.md | |
| parent | b6f50d7ef4aa3838dcdc549809544bef04f3284d (diff) | |
| download | nissy-core-5327a4d14bf02d49a02a698dc2b011baa73145ac.tar.gz nissy-core-5327a4d14bf02d49a02a698dc2b011baa73145ac.zip | |
Add TODO
Diffstat (limited to '')
| -rw-r--r-- | TODO.md | 14 |
1 files changed, 14 insertions, 0 deletions
| @@ -229,3 +229,17 @@ have to manually edit the build script. | |||
| 229 | 229 | ||
| 230 | I'll leave this one to anyone who actually wants to work on nissy-core | 230 | I'll leave this one to anyone who actually wants to work on nissy-core |
| 231 | from Windows. | 231 | from Windows. |
| 232 | |||
| 233 | ### API rework | ||
| 234 | |||
| 235 | The initial design decision of having a "thin" public API and relying | ||
| 236 | on strings for everything had some advantages, but it is causing more | ||
| 237 | problems that it solves. The following changes should be considered: | ||
| 238 | |||
| 239 | * Instead of passing move strings, pass buffers of bytes to be filled | ||
| 240 | with moves. A move is an 8-bit integer from 0 to 54 with a bit for | ||
| 241 | normal / inverse. This is a big change that requires re-working | ||
| 242 | solvers, but also tools and so on. Utilities to translate an array | ||
| 243 | of moves to a move string can be provided. | ||
| 244 | * Solvers and other string-parameters for API functions should be | ||
| 245 | provided as constants, or as enums. | ||
