mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-01-11 16:39:10 +01:00
Add play-chess-game.ps1
This commit is contained in:
parent
09faebf2d9
commit
6d9ff7f750
@ -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
|
||||
|
15
Scripts/play-chess-game.ps1
Normal file
15
Scripts/play-chess-game.ps1
Normal 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
|
Loading…
Reference in New Issue
Block a user