Skip to content

alexcarrega/scala-goose-game

Repository files navigation

GooseGame

Scala implementation of the Goose Game Kata.

Description

Goose game is a game where two or more players move pieces around a track by rolling a die. The aim of the game is to reach square number sixty-three before any of the other players and avoid obstacles (wikipedia).

Read more

Requirements

  1. Scala (follows the instructions at https://www.scala-lang.org/download).
  2. sbt (follows the instructions at https://www.scala-sbt.org/download.html).

Installation

  1. Clone the repository and enter to the created directory (default name: scala-goose-game)

Linux

for@bar:~$ git clone https://github.com/alexcarrega/scala-goose-game.git
for@bar:~$ cd scala-goose-game

Windows

c:\foo\bar> git clone https://github.com/alexcarrega/scala-goose-game.git
c:\foo\bar> cd scala-goose-game
  1. Execute

Linux

for@bar:~\scala-goose-game$ sbt compile

Windows

c:\foo\bar\scala-goose-game> sbt compile

Usage

Linux

  1. Make sure if the file goose-game.sh is executable.

  2. If not digit

for@bar:~\scala-goose-game$ chmod +x ./goose-game.sh
  1. Execute

Linux

for@bar:~\scala-goose-game$ ./goose-game.sh

Windows

c:\for\bar\scala-goose-game> goose-game

All Platforms

Digit help for available commands

Releases

No releases published

Packages

No packages published