Skip to content

EthanCarollo/star-foundation

Repository files navigation

Star Foundation

Image

What is Star Foundation ?

Star Foundation is an RPG game in CLI made with Ruby.
This is based on the principle of books where you are the hero.

How to play ?

Firstly you need to download the game using the instructions below, then read the readme How To Play ? explaining how the game works.

Download ruby on your machine by using Homebrew :

(The version of Ruby for this project is 3.1.4)

brew install ruby

Else, if you are on Windows, you can install it here : https://rubyinstaller.org/

Download all the dependencies

bundler install

Launch the game in a terminal

ruby main.rb

Build the game with Docker

docker build -t star-foundation .

Run the game with Docker (!! If you leave the game with this command, it will just erase the docker container)

docker run -it --rm star-foundation