G1SqScen

ostrat.gOne.sp1.G1SqScen
See theG1SqScen companion object
trait G1SqScen extends SqGridScen

Scenario trait for Game Two.

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object G1S1Scen1.type
object G1S1Scen2.type

Members list

Concise view

Value members

Abstract methods

An optional player can occupy each tile. This is the only tile data in the game. this is the same as Game one.

An optional player can occupy each tile. This is the only tile data in the game. this is the same as Game one.

Attributes

Concrete methods

Inherited methods

Attributes

Inherited from:
SqGridScen
def turn: Int

The turn number. This will normally start at 0. The player will then give their instructions for turn 1. The scenario will take these orders / instructions and return the new game state at turn 1.

The turn number. This will normally start at 0. The player will then give their instructions for turn 1. The scenario will take these orders / instructions and return the new game state at turn 1.

Attributes

Inherited from:
GridTurnScen

Implicits

Inherited implicits

implicit val gSys: SqGridSys

This gives the structure of the square grid. It contains no data about the elements of the grid. But it allows the scenario to create and operate on flat arrays of data.

This gives the structure of the square grid. It contains no data about the elements of the grid. But it allows the scenario to create and operate on flat arrays of data.

Attributes

Inherited from:
SqGridScen