Skip to content
This repository was archived by the owner on Dec 14, 2020. It is now read-only.

pakerimus/minesweeper

Repository files navigation

Minesweeper

The typical minesweeper game. Built with Rails, VueJS and a few cups of coffee.

Design & ideas

The game is controlled by 2 main services: GameService::Game and GameService::Cell in the backend. These two are responsible for checking the game logic, so it's difficult to cheat, and multiple clients can be added.

Note: performance is not the best, maybe the persistence layer of the game is too much for what's needed. I'm sure it can be improved.

Element.io was added for frontend components.

Install

  • clone the repo
  • bundle install
  • rails db:create db:migrate

Run

Demo

A working demo is found here: https://pakerimus-minesweeper.herokuapp.com/

Test

Test suite is in rspec

rspec spec/

API documentation

Can be found in here: https://app.swaggerhub.com/apis/pakerimus/minesweeper/1.0.0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published