这是indexloc提供的服务,不要输入任何密码
Skip to content

ryanjm/terminal-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Console Game

Simple console game to teach some basics of Ruby and put it all together.

This will be 2-games-in-1. Simple menu to get into it.

Capture the flag - will be played with two people. Each person sets their flag. Then they try to guess the other person's flag location. First person to find it, wins.

Bloc Sweeper - will be a one person game. Pick a grid, and try to guess where the flag is, don't step on a mine.

To Run / Play

Run the game.rb file and follow the instructions.

$ ruby game.rb

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages