Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ondras/rri
TypeScript port of a board game by Horrible Games
https://github.com/ondras/rri
deno game hacktoberfest websocket
Last synced: 3 months ago
JSON representation
TypeScript port of a board game by Horrible Games
- Host: GitHub
- URL: https://github.com/ondras/rri
- Owner: ondras
- License: mit
- Created: 2020-01-07T13:49:02.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-09-17T16:04:30.000Z (over 1 year ago)
- Last Synced: 2024-05-01T21:15:14.287Z (9 months ago)
- Topics: deno, game, hacktoberfest, websocket
- Language: TypeScript
- Homepage: https://ondras.github.io/rri/
- Size: 655 KB
- Stars: 97
- Watchers: 9
- Forks: 18
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Railroad Ink
![Screenshot](img/screenshot.png)
This is a web-based version of the [Railroad Ink Board Game](https://boardgamegeek.com/boardgame/245654/railroad-ink-deep-blue-edition).
Implemented features:- base game, lakes expansion
- playable and installable on mobile devices
- online multiplayer
- score visualization
- works offline
- saving the game board as an imagePlease report any bugs found to the [issue tracker](https://github.com/ondras/rri/issues).
## How to play
Familiarize yourself with [game rules](https://www.dropbox.com/s/pu4yifwuhfivwmg/RRI_BLUE_Rulebook-EN_v02_Web.pdf) first. Rules for the [forests expansion](#forests-expansion) follow.
Playing the game is very straightforward; you pick pieces by clicking/touching the dice pool and you place them by clicking/touching the game board afterwards. To **rotate** a tile, place it and then touch it again. To **remove** a tile, double-click/double-touch it.
You shall end the turn after placing all dice (and optionally one dice from the bonus pool) by clicking the corresponding button.
## Networking
**The game server has been recently reworked to support the newest Deno version. Please [open an issue](https://github.com/ondras/rri/issues) if the multiplayer component looks buggy.**
The game supports online multiplayer setup, provided that all participants have a working internet connection.
Please note that a central server is used; if it comes down, the multiplayer component will not work.In order to play online, the first player must **create** the game (and name it appropriately). Other players can then **join** the game (they need to use the exact game name) and wait for the host to start.
During the online match, you may freely close and re-open your app. The multiplayer menu will then have a **Continue** option enabled which can be used to re-enter a game in progress.
## *Forests* expansion
*"The old forests are beautiful. We are not allowed to cut them down, but passengers love the view while passing them."*
Rules (created by [Niklas Thomas](https://boardgamegeek.com/thread/2392579/railroad-ink-green-edition-fanmade)):
- The Game only lasts for 6 regular rounds (+1 pre-round)
- During the first round both players draw 4 forests spaces somewhere on their board
- Forest spaces may not be overbuild, Routes may connect to forest spaces, but they counts as Errors at the end of the game.
- Edges of forest spaces never counts as errors
- Each Route adjacent (not diagonal) or connected to at least one forst space is worth 1 point at the end of the game.