Skip to content

gamepark/rival-cities

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

388 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Game Park - Board Game Template

Template to adapt board games for Game Park.

Documentation

Full documentation: gamepark.github.io

Prerequisites

Quick Start

yarn install
yarn start

The game opens at http://localhost:3000.

Console commands (browser)

game.new(2)               // New game (2 players)
game.monkeyOpponents(true) // Opponents play automatically
game.undo()               // Undo last move

Project Setup

Search and replace in all files:

  • Game TemplateYour Game Name
  • GameTemplateYourGameName
  • game-templateyour-game-name

Deployment

Rules are deployed by the Game Park team.

To deploy the React app, install rclone then configure:

rclone config
> n
name> rival-cities
Storage> s3
provider> Other
env_auth> false
access_key_id> [your key - do not commit!]
secret_access_key> [your secret - do not commit!]
region> [empty]
endpoint> cellar-c2.services.clever-cloud.com
location_constraint> [empty]
acl> public-read
Edit advanced config> n

Then deploy with:

yarn deploy

About

Rival Cities adaptation for Game Park

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages