Add some more scripts

This commit is contained in:
Markus Fleschutz 2021-11-25 14:17:37 +01:00
parent 8ad047ac90
commit cbc1e22d96
5 changed files with 61 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", or "Tetris".
* replace `name`: by "2048", "Cube", "Pacman", "Tetris", "TicTacToe", or "Tower".
Computer, open `name` settings

View File

@ -0,0 +1,15 @@
<#
.SYNOPSIS
Plays the Cube game
.DESCRIPTION
This script launches the Web browser with the Cube game.
.EXAMPLE
PS> ./play-cube-game
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
& "$PSScriptRoot/open-default-browser.ps1" "https://bsehovac.github.io/the-cube/"
exit 0 # success

View File

@ -0,0 +1,15 @@
<#
.SYNOPSIS
Plays the Pacman game
.DESCRIPTION
This script launches the Web browser with the Pacman game.
.EXAMPLE
PS> ./play-pac-man-game
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
& "$PSScriptRoot/open-default-browser.ps1" "https://bobrov.dev/pacman-pwa/index.html"
exit 0 # success

View File

@ -0,0 +1,15 @@
<#
.SYNOPSIS
Plays the TicTacToe game
.DESCRIPTION
This script launches the Web browser with the TicTacToe game.
.EXAMPLE
PS> ./play-tic-tac-toe-game
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
& "$PSScriptRoot/open-default-browser.ps1" "https://tmaiadev-tictactoe.netlify.app/"
exit 0 # success

View File

@ -0,0 +1,15 @@
<#
.SYNOPSIS
Plays the Tower game
.DESCRIPTION
This script launches the Web browser with the Tower game.
.EXAMPLE
PS> ./play-tower-game
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
& "$PSScriptRoot/open-default-browser.ps1" "https://www.towergame.app/"
exit 0 # success