Skip to content

Commit

Permalink
- Added details where to get Stockfish if it's missing
Browse files Browse the repository at this point in the history
 - Added instructions for SimplifiedPulse encoder to readme
  • Loading branch information
RonSijm committed Sep 29, 2022
1 parent ba9b503 commit f435d50
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
4 changes: 3 additions & 1 deletion RonSijm.ButtFish/ButtFishCore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ public async Task Start()

if (!File.Exists(stockfishPath))
{
Console.WriteLine($"Stockfish executable expected to be at '{stockfishPath}'");
Console.WriteLine("Stockfish is missing");
Console.WriteLine($"Executable expected to be at '{stockfishPath}'");
Console.WriteLine("You can download it over here: https://github.com/RonSijm/ButtFish/blob/main/RonSijm.ButtFish/stockfish_15_x64_avx2.exe");
return;
}

Expand Down
11 changes: 8 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ As you can see by the diagram, if we'd have to wait for "the chosen one" with in
- [x] Encode the next best move into Morse Code
- [x] Send the encoded Morse Code to the connected device

#### Encoders

- [x] (default) [A text to Morse Encoder](https://github.com/RonSijm/ButtFish/blob/main/RonSijm.ButtFish/Encoders/MorseEncoder.cs)
- [x] [A simplified Pulse Encoder](https://github.com/RonSijm/ButtFish/blob/main/RonSijm.ButtFish/Encoders/SimplifiedPulseEncoder.cs) - you can change this in `appsettings.json` by using "SimplifiedPulse"

* * *

### Demo
Expand Down Expand Up @@ -78,11 +83,11 @@ To use a Yeelight, you must enable developer mode for your Yeelight. To do so, d
- Open Yeelight APP and go to “Device”.
- Select the device you want to use.
- Enable LAN Control
- (option, if network discovery of the Yeelight does not seem to work:)
- (optional), if network discovery of the Yeelight does not seem to work:)
- Go to your Yeelight settings in the upper right corner
- Click Device Info
- You should now see a field "IP address". Use the value for manual mode.
-

---

### Data
Expand Down Expand Up @@ -155,4 +160,4 @@ https://user-images.githubusercontent.com/337928/192804145-49200e59-77b0-4d8d-b5
- Stockfish main website: https://stockfishchess.org
- Stockfish C# library: https://github.com/Oremiro/Stockfish.NET
- Yeelight C# library: https://github.com/roddone/YeelightAPI
- ColorfulConsole C# library: https://github.com/tomakita/Colorful.Console
- ColorfulConsole C# library: https://github.com/tomakita/Colorful.Console

0 comments on commit f435d50

Please sign in to comment.