From 6d9ff7f7502d8a8e52bed3fa6df2ee890d833714 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 25 Nov 2021 17:11:17 +0100 Subject: [PATCH] Add play-chess-game.ps1 --- Docs/VoiceControl.md | 2 +- Scripts/play-chess-game.ps1 | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 Scripts/play-chess-game.ps1 diff --git a/Docs/VoiceControl.md b/Docs/VoiceControl.md index ef50bbd8..3a026809 100644 --- a/Docs/VoiceControl.md +++ b/Docs/VoiceControl.md @@ -76,7 +76,7 @@ Computer, play `name` sound Computer, play `name` game -------------------------- * launches the default Web browser and plays the given game. -* replace `name`: by "2048", "Cube", "Pacman", "Tetris", "TicTacToe", or "Tower". +* replace `name`: by "2048", "Chess", "Cube", "Pacman", "Tetris", "TicTacToe", or "Tower". Computer, open `name` settings diff --git a/Scripts/play-chess-game.ps1 b/Scripts/play-chess-game.ps1 new file mode 100644 index 00000000..8e75f648 --- /dev/null +++ b/Scripts/play-chess-game.ps1 @@ -0,0 +1,15 @@ +<# +.SYNOPSIS + Plays the Chess game +.DESCRIPTION + This script launches the Web browser with the Chess game. +.EXAMPLE + PS> ./play-chess-game +.NOTES + Author: Markus Fleschutz · License: CC0 +.LINK + https://github.com/fleschutz/PowerShell +#> + +& "$PSScriptRoot/open-default-browser.ps1" "https://www.chess.com/" +exit 0 # success