👾 Space Invaders 2d game with Ruby/Gosu
Find a file
2022-05-12 14:35:19 +03:00
bin Init win 2020-01-18 20:18:50 +03:00
doc Demo video added 2022-05-12 14:30:54 +03:00
lib Blinking caret 2022-02-15 09:33:24 +03:00
spec Init win 2020-01-18 20:18:50 +03:00
.env.sample Rerender aliens when last one hits 2020-06-24 09:09:40 +03:00
.gitignore Rerender aliens when last one hits 2020-06-24 09:09:40 +03:00
.mdlrc Disallow render continue, load_game, leaderboard in first game run 2022-01-03 11:17:51 +03:00
.rubocop.yml Renders games for next loading 2021-05-24 10:29:04 +03:00
Gemfile Init win 2020-01-18 20:18:50 +03:00
Gemfile.lock Blinking caret 2022-02-15 09:33:24 +03:00
LICENSE.txt Create basic project structure 2020-01-18 18:54:22 +03:00
Rakefile Init win 2020-01-18 20:18:50 +03:00
README.md Update README.md 2022-05-12 14:34:17 +03:00
space_invaders.gemspec Remove gosu from dev spec 2022-02-06 14:49:42 +03:00

Classic Space Invaders Game

logo

Features

  • Player moves ship horizontally by pressing on keyboard ✔️
  • Player shoot aliens, which can move horizontally & vertically ✔️
  • When bullet reach alien, alien disappear & total score increase ✔️
  • Aliens can shoot too. When alien hit player, his lives decrease ✔️
  • Player can hide behind obstacles
  • Game ends when player lives become 0 ✔️
  • Game has record table ✔️
  • Game has sounds effects ✔️

Demo

https://user-images.githubusercontent.com/14609424/168065403-aa3b19fd-e091-4d56-97ed-2b01863fbc58.mov

Installation

Launch

ruby lib/space_invaders.rb

Other resources