Skip to content

ayellapragada/root

Repository files navigation

Root

This is my take on a digital version of Root.

This version is complete in terms of all base game mechanics, but the AI could be improved.

It works, I'm happy with it as a learning exercise, but it's no longer supported.

Stay tuned for more info on my next related project!

Gameplay

Full Game Screen

It's a full game run through, you start the game, it'll show you relevant information on each of the factions.

Whatever their game boards would normally display.

The Cats for example, show how many more buildings they have on their track, the Birds have their decree.

After that it'll take you through a guided through version of the game, you'll see all your available actions, can cancel actions, use cards, the whole jingle jangle.

The Why

Look at all that code coverage

This was honestly just me wanting to build out a slightly more complex project that was in a different vein than a normal web app.

It was really fun building something that was more of a long runnng process, and building out a complicated system.

All while keeping the entire thing at 100% code coverage, and 100% branch coverage.

A commit never went below 99% code coverage. Or you know, rarely did. Don't hold me to this please.

Installation

Git clone the repo, go into the repo. You'll need Ruby.

For people who looked at this repo earlier, master has been reverted so this should just work as is, you don't need to clone a specific branch.

Usage

Run ./bin/play FACTION_CODE

Where the FACTION_CODE is cats, birds, mice, or racooon.

Contact Me

Feel free to open an issue!

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the root project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

About

A terminal version built in Ruby of the board game Root.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages