Skip to content

Commit

Permalink
Merge pull request #4 from Linos1391/vs_code
Browse files Browse the repository at this point in the history
Im suck. Sorry...
  • Loading branch information
Linos1391 authored Jan 7, 2025
2 parents 3c699eb + 7079a3a commit e4d4cdb
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# v1.0.1 - v1.0.2
# v1.0.1 - v1.0.3

- Bug fixed and README edited.

Expand Down
2 changes: 1 addition & 1 deletion ChessAI/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
"vision",
]

__version__ = "1.0.2"
__version__ = "1.0.3"
File renamed without changes.
2 changes: 2 additions & 0 deletions ChessAI/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ def _put(self, command: str) -> None:
if self.print_command:
print(f'\r{(os.get_terminal_size().columns) * ' '}', end='') # clear line
print(f'\rLast Input: {command}', end='')
if command == 'quit':
print('')
# so the credit is given
self._stockfish.stdin.write(f"{command}\n")
self._stockfish.stdin.flush()
Expand Down
1 change: 0 additions & 1 deletion ChessAI/sub_gui/gui_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,4 +310,3 @@ def on_closing(self):
if os.path.isfile(PROJECT_PATH / 'history.json'):
os.remove(PROJECT_PATH / 'history.json')
self.mainwindow.destroy()
print('')
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ source ~/.bash_profile
powershell $old_path = [Environment]::GetEnvironmentVariable('path', 'user'); $new_path = $old_path + ';' + $PWD; [Environment]::SetEnvironmentVariable('path', $new_path,'User');
```

**Notice:** Don't forget to configurate `chessai.cmd` file to fit your needs.

<br>

# Running
Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@

setuptools.setup(
name="chessai-stockfish",
version="1.0.2",
description="A sub-window GUI for Stockfish. (Contributions are welcomed, but I might won't touch this any sooner)",
version="1.0.3",
description="A sub-window GUI for Stockfish. \
(Contributions are welcomed, but I might won't touch this any sooner)",
long_description=pathlib.Path('README.md').read_text(encoding="utf-8"),
long_description_content_type="text/markdown",
author="Linos",
Expand Down
2 changes: 1 addition & 1 deletion translation/CHANGELOG-vi.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# v1.0.1 - v1.0.2
# v1.0.1 - v1.0.3

- Sửa lỗi và chỉnh lại README.

Expand Down
2 changes: 2 additions & 0 deletions translation/README-vi.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ source ~/.bash_profile
powershell $old_path = [Environment]::GetEnvironmentVariable('path', 'user'); $new_path = $old_path + ';' + $PWD; [Environment]::SetEnvironmentVariable('path', $new_path,'User');
```

**Lưu ý:** Đừng quên chỉnh file `chessai.cmd` để phù hợp với nhu cầu.

<br>

# Sử dụng
Expand Down

0 comments on commit e4d4cdb

Please sign in to comment.