mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-01-23 06:08:36 +01:00
Add some more scripts
This commit is contained in:
parent
8ad047ac90
commit
cbc1e22d96
@ -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
|
||||
|
15
Scripts/play-cube-game.ps1
Normal file
15
Scripts/play-cube-game.ps1
Normal 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
|
15
Scripts/play-pac-man-game.ps1
Normal file
15
Scripts/play-pac-man-game.ps1
Normal 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
|
15
Scripts/play-tic-tac-toe-game.ps1
Normal file
15
Scripts/play-tic-tac-toe-game.ps1
Normal 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
|
15
Scripts/play-tower-game.ps1
Normal file
15
Scripts/play-tower-game.ps1
Normal 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
|
Loading…
Reference in New Issue
Block a user