Skip to content

Commit

Permalink
Package download asteroids
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
tunisiano187 committed Sep 12, 2024
1 parent b195bd8 commit eabd416
Show file tree
Hide file tree
Showing 6 changed files with 126 additions and 0 deletions.
39 changes: 39 additions & 0 deletions automatic/asteroids/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
[![](https://img.shields.io/chocolatey/v/asteroids?color=green&label=asteroids)](https://chocolatey.org/packages/asteroids) [![](https://img.shields.io/chocolatey/dt/asteroids)](https://chocolatey.org/packages/asteroids)

## Asteroids Freeware (Portable)

![screen shot of Asteroids Freeware](http://pjsfreeware.synthasite.com/resources/asteroids.png)

There are lots a remakes of Asteroids Here's mine. New Update 29/07/13 Added joystick support

###Playing
Rotate your spaceship using the left and right arrow keys. Increase speed using the up arrow key. Use the down arrow key to teleport yourself away from a dangerous situation (but be careful, you might end up in an asteroid). Use the spacebar to shoot.
you can play with gamepad with buttons 1 and 2 firing/teleport.

###Extras
You will met some special objects when you move along:
* Spinning stars extra lives
* large UFO's that shoot without aiming
* More clever small UFO's
* Very fast UFO's that try to ram you

###Special Keys
* Esc ends the game
* F1 shows the help file
* F2 set scaled fullscreen mode
* F3 set non-scaled fullscreen mode
* F4 set windowed mode
* F5 show highscore table
* F6 pause game

gm8 29/07/2013

**[PACKAGE NOTES](https://github.com/bcurran3/ChocolateyPackages/blob/master/asteroids/readme.md)**

#### [choco://asteroids](choco://asteroids)
To use choco:// protocol URLs, install [(unofficial) choco:// Protocol support ](https://chocolatey.org/packages/choco-protocol-support)

### Package-specific issue
If this package isn't up-to-date for some days, [Create an issue](https://github.com/tunisiano187/Chocolatey-packages/issues/new/choose)

Support the package maintainer and [![Patreon](https://cdn.jsdelivr.net/gh/tunisiano187/Chocolatey-packages@d15c4e19c709e7148588d4523ffc6dd3cd3c7e5e/icons/patreon.png)](https://www.patreon.com/bePatron?u=39585820)
47 changes: 47 additions & 0 deletions automatic/asteroids/asteroids.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>asteroids</id>
<version>2013.07.29</version>
<title>Asteroids Freeware (Portable)</title>
<authors>PJ Crossley</authors>
<owners>bcurran3</owners>
<projectUrl>http://pjsfreeware.synthasite.com/</projectUrl>
<iconUrl>http://pjsfreeware.synthasite.com/resources/Rendered5.jpg</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>![screen shot of Asteroids Freeware](http://pjsfreeware.synthasite.com/resources/asteroids.png)

There are lots a remakes of Asteroids Here's mine. New Update 29/07/13 Added joystick support

###Playing
Rotate your spaceship using the left and right arrow keys. Increase speed using the up arrow key. Use the down arrow key to teleport yourself away from a dangerous situation (but be careful, you might end up in an asteroid). Use the spacebar to shoot.
you can play with gamepad with buttons 1 and 2 firing/teleport.

###Extras
You will met some special objects when you move along:
* Spinning stars extra lives
* large UFO's that shoot without aiming
* More clever small UFO's
* Very fast UFO's that try to ram you

###Special Keys
* Esc ends the game
* F1 shows the help file
* F2 set scaled fullscreen mode
* F3 set non-scaled fullscreen mode
* F4 set windowed mode
* F5 show highscore table
* F6 pause game

gm8 29/07/2013

**[PACKAGE NOTES](https://github.com/bcurran3/ChocolateyPackages/blob/master/asteroids/readme.md)**</description>
<summary>PJ Crossley's remake of the classic Asteroids game.</summary>
<copyright>PJ Crossley (c) 2010</copyright>
<tags>pjcrossley asteroids retro game portable</tags>
<packageSourceUrl>https://github.com/bcurran3/ChocolateyPackages/tree/master/asteroids</packageSourceUrl>
</metadata>
<files>
<file src="tools\**" target="tools" />
</files>
</package>
7 changes: 7 additions & 0 deletions automatic/asteroids/tools/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
==================== Crozza Games LICENSE.TXT ====================

This game by PJ Crossley/Crozza Games is freely distributable copyrighted freeware.

This license is stated at http://pjsfreeware.synthasite.com/ and says "Feel free to distribute any of my free games on your site as long as you do not charge for them and a link to my site would be nice."

==================== Crozza Games LICENSE.TXT ====================
5 changes: 5 additions & 0 deletions automatic/asteroids/tools/VERIFICATION.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
==================== Crozza Games VERIFICATION.TXT ====================

This binary was directly downloaded and packaged up by bcurran3 from http://pjsfreeware.synthasite.com/. Checksums were manually created.

==================== Crozza Games VERIFICATION.TXT ====================
22 changes: 22 additions & 0 deletions automatic/asteroids/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
$packageName = 'asteroids'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url = "$toolsDir\asteroids.zip"
$checksum = 'CB994A1700249149D713B1833C6B83A0D8B3716265E9453FD8328894D55E34EB'
$Shortcut = 'Asteroids.lnk'
$ProgramEXE = 'asteroids.exe'

$packageArgs = @{
packageName = $packageName
unzipLocation = $toolsDir
fileType = 'ZIP'
url = $url
checksum = $checksum
checksumType = 'sha256'
}

Install-ChocolateyZipPackage @packageArgs

Install-ChocolateyShortcut -shortcutFilePath "$env:Public\Desktop\$Shortcut" -targetPath "$toolsDir\$ProgramEXE" -WorkingDirectory "$toolsDir"
Install-ChocolateyShortcut -shortcutFilePath "$env:ProgramData\Microsoft\Windows\Start Menu\Programs\$Shortcut" -targetPath "$toolsDir\$ProgramEXE"

Remove-Item $url | out-null
6 changes: 6 additions & 0 deletions automatic/asteroids/tools/chocolateyuninstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
$packageName = 'asteroids'
$Shortcut = 'Asteroids.lnk'

remove-item "$env:Public\Desktop\$Shortcut" -Force -ErrorAction 'SilentlyContinue'
remove-item "$env:ProgramData\Microsoft\Windows\Start Menu\Programs\$Shortcut" -Force -ErrorAction 'SilentlyContinue'

0 comments on commit eabd416

Please sign in to comment.