Add play-chess-game.ps1

This commit is contained in:
Markus Fleschutz 2021-11-25 17:11:17 +01:00
parent 09faebf2d9
commit 6d9ff7f750
2 changed files with 16 additions and 1 deletions

View File

@ -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

View File

@ -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