https://github.com/fargelus/space-invaders
:space_invader: Space Invaders 2d game with Ruby/Gosu
https://github.com/fargelus/space-invaders
game gosu ruby-gem space-invaders
Last synced: 2 months ago
JSON representation
:space_invader: Space Invaders 2d game with Ruby/Gosu
- Host: GitHub
- URL: https://github.com/fargelus/space-invaders
- Owner: fargelus
- License: mit
- Created: 2020-01-09T09:40:50.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-08-02T00:03:12.000Z (11 months ago)
- Last Synced: 2025-03-29T05:41:28.132Z (3 months ago)
- Topics: game, gosu, ruby-gem, space-invaders
- Language: Ruby
- Homepage:
- Size: 8.22 MB
- Stars: 18
- Watchers: 1
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Classic Space Invaders Game
![]()
## Features
- Player moves ship horizontally by pressing on keyboard :heavy_check_mark:
- Player shoot aliens, which can move horizontally & vertically :heavy_check_mark:
- When bullet reach alien, alien disappear & total score increase :heavy_check_mark:
- Aliens can shoot too. When alien hit player, his lives decrease :heavy_check_mark:
- Player can hide behind obstacles
- Game ends when player lives become 0 :heavy_check_mark:
- Game has record table :heavy_check_mark:
- Game has sounds effects :heavy_check_mark:## Demo
https://user-images.githubusercontent.com/14609424/168065403-aa3b19fd-e091-4d56-97ed-2b01863fbc58.mov
## Installation
- [Debian based Linux distros](doc/installation/ubuntu.md)
- [macOS](doc/installation/macos.md)## Launch
```sh
ruby lib/space_invaders.rb
```## Other resources
- [Demo](https://www.youtube.com/watch?v=MU4psw3ccUI)
- [Wiki](https://ru.wikipedia.org/wiki/Space_Invaders)
- [Gosu tutorial](https://leanpub.com/developing-games-with-ruby/read)