2018-03-08 10:57:57 +02:00
|
|
|
/**
|
|
|
|
* 組み込みマップ定義
|
|
|
|
*
|
|
|
|
* データ値:
|
|
|
|
* (スペース) ... マス無し
|
|
|
|
* - ... マス
|
|
|
|
* b ... 初期配置される黒石
|
|
|
|
* w ... 初期配置される白石
|
|
|
|
*/
|
|
|
|
|
|
|
|
export type Map = {
|
|
|
|
name?: string;
|
2018-03-08 15:11:08 +02:00
|
|
|
category?: string;
|
2018-03-08 10:57:57 +02:00
|
|
|
size: number;
|
|
|
|
data: string;
|
|
|
|
};
|
|
|
|
|
|
|
|
export const fourfour: Map = {
|
|
|
|
name: '4x4',
|
2018-03-08 15:11:08 +02:00
|
|
|
category: '4x4',
|
2018-03-08 10:57:57 +02:00
|
|
|
size: 4,
|
|
|
|
data:
|
|
|
|
'----' +
|
|
|
|
'-wb-' +
|
|
|
|
'-bw-' +
|
|
|
|
'----'
|
|
|
|
};
|
|
|
|
|
|
|
|
export const sixsix: Map = {
|
|
|
|
name: '6x6',
|
2018-03-08 15:11:08 +02:00
|
|
|
category: '6x6',
|
2018-03-08 10:57:57 +02:00
|
|
|
size: 6,
|
|
|
|
data:
|
|
|
|
'------' +
|
|
|
|
'------' +
|
|
|
|
'--wb--' +
|
|
|
|
'--bw--' +
|
|
|
|
'------' +
|
|
|
|
'------'
|
|
|
|
};
|
|
|
|
|
2018-03-08 15:11:08 +02:00
|
|
|
export const roundedSixsix: Map = {
|
|
|
|
name: '6x6 rounded',
|
|
|
|
category: '6x6',
|
|
|
|
size: 6,
|
|
|
|
data:
|
|
|
|
' ---- ' +
|
|
|
|
'------' +
|
|
|
|
'--wb--' +
|
|
|
|
'--bw--' +
|
|
|
|
'------' +
|
|
|
|
' ---- '
|
|
|
|
};
|
|
|
|
|
|
|
|
export const roundedSixsix2: Map = {
|
|
|
|
name: '6x6 rounded 2',
|
|
|
|
category: '6x6',
|
|
|
|
size: 6,
|
|
|
|
data:
|
|
|
|
' -- ' +
|
|
|
|
' ---- ' +
|
|
|
|
'--wb--' +
|
|
|
|
'--bw--' +
|
|
|
|
' -----' +
|
|
|
|
' -- '
|
|
|
|
};
|
|
|
|
|
2018-03-08 10:57:57 +02:00
|
|
|
export const eighteight: Map = {
|
|
|
|
name: '8x8',
|
2018-03-08 15:11:08 +02:00
|
|
|
category: '8x8',
|
2018-03-08 10:57:57 +02:00
|
|
|
size: 8,
|
|
|
|
data:
|
|
|
|
'--------' +
|
|
|
|
'--------' +
|
|
|
|
'--------' +
|
|
|
|
'---wb---' +
|
|
|
|
'---bw---' +
|
|
|
|
'--------' +
|
|
|
|
'--------' +
|
|
|
|
'--------'
|
|
|
|
};
|
|
|
|
|
|
|
|
export const roundedEighteight: Map = {
|
|
|
|
name: '8x8 rounded',
|
2018-03-08 15:11:08 +02:00
|
|
|
category: '8x8',
|
2018-03-08 10:57:57 +02:00
|
|
|
size: 8,
|
|
|
|
data:
|
|
|
|
' ------ ' +
|
|
|
|
'--------' +
|
|
|
|
'--------' +
|
|
|
|
'---wb---' +
|
|
|
|
'---bw---' +
|
|
|
|
'--------' +
|
|
|
|
'--------' +
|
|
|
|
' ------ '
|
|
|
|
};
|
|
|
|
|
|
|
|
export const roundedEighteight2: Map = {
|
|
|
|
name: '8x8 rounded 2',
|
2018-03-08 15:11:08 +02:00
|
|
|
category: '8x8',
|
2018-03-08 10:57:57 +02:00
|
|
|
size: 8,
|
|
|
|
data:
|
|
|
|
' ---- ' +
|
|
|
|
' ------ ' +
|
|
|
|
'--------' +
|
|
|
|
'---wb---' +
|
|
|
|
'---bw---' +
|
|
|
|
'--------' +
|
|
|
|
' ------ ' +
|
|
|
|
' ---- '
|
|
|
|
};
|
|
|
|
|
2018-03-08 15:11:08 +02:00
|
|
|
export const roundedEighteight3: Map = {
|
|
|
|
name: '8x8 rounded 3',
|
|
|
|
category: '8x8',
|
|
|
|
size: 8,
|
|
|
|
data:
|
|
|
|
' -- ' +
|
|
|
|
' ---- ' +
|
|
|
|
' ------ ' +
|
|
|
|
'---wb---' +
|
|
|
|
'---bw---' +
|
|
|
|
' ------ ' +
|
|
|
|
' ---- ' +
|
|
|
|
' -- '
|
|
|
|
};
|
|
|
|
|
2018-03-08 10:57:57 +02:00
|
|
|
export const eighteightWithNotch: Map = {
|
|
|
|
name: '8x8 with notch',
|
2018-03-08 15:11:08 +02:00
|
|
|
category: '8x8',
|
2018-03-08 10:57:57 +02:00
|
|
|
size: 8,
|
|
|
|
data:
|
|
|
|
'--- ---' +
|
|
|
|
'--------' +
|
|
|
|
'--------' +
|
|
|
|
' --wb-- ' +
|
|
|
|
' --bw-- ' +
|
|
|
|
'--------' +
|
|
|
|
'--------' +
|
|
|
|
'--- ---'
|
|
|
|
};
|
|
|
|
|
|
|
|
export const eighteightWithSomeHoles: Map = {
|
|
|
|
name: '8x8 with some holes',
|
2018-03-08 15:11:08 +02:00
|
|
|
category: '8x8',
|
2018-03-08 10:57:57 +02:00
|
|
|
size: 8,
|
|
|
|
data:
|
|
|
|
'--- ----' +
|
|
|
|
'----- --' +
|
|
|
|
'-- -----' +
|
|
|
|
'---wb---' +
|
|
|
|
'---bw- -' +
|
|
|
|
' -------' +
|
|
|
|
'--- ----' +
|
|
|
|
'--------'
|
|
|
|
};
|
|
|
|
|
2018-03-08 15:11:08 +02:00
|
|
|
export const circle: Map = {
|
|
|
|
name: 'Circle',
|
|
|
|
category: '8x8',
|
2018-03-08 10:57:57 +02:00
|
|
|
size: 8,
|
|
|
|
data:
|
2018-03-08 15:11:08 +02:00
|
|
|
' -- ' +
|
2018-03-08 10:57:57 +02:00
|
|
|
' ------ ' +
|
|
|
|
' ------ ' +
|
2018-03-08 15:11:08 +02:00
|
|
|
'---wb---' +
|
|
|
|
'---bw---' +
|
2018-03-08 10:57:57 +02:00
|
|
|
' ------ ' +
|
|
|
|
' ------ ' +
|
2018-03-08 15:11:08 +02:00
|
|
|
' -- '
|
|
|
|
};
|
|
|
|
|
|
|
|
export const dice: Map = {
|
|
|
|
name: 'Dice',
|
|
|
|
category: '8x8',
|
|
|
|
size: 8,
|
|
|
|
data:
|
|
|
|
'--------' +
|
|
|
|
'- -- -' +
|
|
|
|
'- -- -' +
|
|
|
|
'---wb---' +
|
|
|
|
'---bw---' +
|
|
|
|
'- -- -' +
|
|
|
|
'- -- -' +
|
|
|
|
'--------'
|
|
|
|
};
|
|
|
|
|
|
|
|
export const face: Map = {
|
|
|
|
name: 'Face',
|
|
|
|
category: '8x8',
|
|
|
|
size: 8,
|
|
|
|
data:
|
2018-03-08 10:57:57 +02:00
|
|
|
' ------ ' +
|
2018-03-08 15:11:08 +02:00
|
|
|
'--------' +
|
|
|
|
'-- -- --' +
|
|
|
|
'---wb---' +
|
|
|
|
'-- bw --' +
|
|
|
|
'--- ---' +
|
|
|
|
'--------' +
|
2018-03-08 10:57:57 +02:00
|
|
|
' ------ '
|
|
|
|
};
|
|
|
|
|
2018-03-08 15:11:08 +02:00
|
|
|
export const window: Map = {
|
|
|
|
name: 'Window',
|
|
|
|
category: '8x8',
|
|
|
|
size: 8,
|
|
|
|
data:
|
|
|
|
'--------' +
|
|
|
|
'- -- -' +
|
|
|
|
'- -- -' +
|
|
|
|
'---wb---' +
|
|
|
|
'---bw---' +
|
|
|
|
'- -- -' +
|
|
|
|
'- -- -' +
|
|
|
|
'--------'
|
|
|
|
};
|
|
|
|
|
2018-03-08 10:57:57 +02:00
|
|
|
export const tenthtenth: Map = {
|
|
|
|
name: '10x10',
|
2018-03-08 15:11:08 +02:00
|
|
|
category: '10x10',
|
2018-03-08 10:57:57 +02:00
|
|
|
size: 10,
|
|
|
|
data:
|
|
|
|
'----------' +
|
|
|
|
'----------' +
|
|
|
|
'----------' +
|
|
|
|
'----------' +
|
|
|
|
'----wb----' +
|
|
|
|
'----bw----' +
|
|
|
|
'----------' +
|
|
|
|
'----------' +
|
|
|
|
'----------' +
|
|
|
|
'----------'
|
|
|
|
};
|
|
|
|
|
|
|
|
export const hole: Map = {
|
2018-03-08 15:11:08 +02:00
|
|
|
name: 'The Hole',
|
|
|
|
category: '10x10',
|
2018-03-08 10:57:57 +02:00
|
|
|
size: 10,
|
|
|
|
data:
|
|
|
|
'----------' +
|
|
|
|
'----------' +
|
|
|
|
'--wb--wb--' +
|
|
|
|
'--bw--bw--' +
|
|
|
|
'---- ----' +
|
|
|
|
'---- ----' +
|
|
|
|
'--wb--wb--' +
|
|
|
|
'--bw--bw--' +
|
|
|
|
'----------' +
|
|
|
|
'----------'
|
|
|
|
};
|
|
|
|
|
2018-03-08 15:11:08 +02:00
|
|
|
export const grid: Map = {
|
|
|
|
name: 'Grid',
|
|
|
|
category: '10x10',
|
|
|
|
size: 10,
|
|
|
|
data:
|
|
|
|
'----------' +
|
|
|
|
'- - -- - -' +
|
|
|
|
'----------' +
|
|
|
|
'- - -- - -' +
|
|
|
|
'----wb----' +
|
|
|
|
'----bw----' +
|
|
|
|
'- - -- - -' +
|
|
|
|
'----------' +
|
|
|
|
'- - -- - -' +
|
|
|
|
'----------'
|
|
|
|
};
|
|
|
|
|
|
|
|
export const sixeight: Map = {
|
|
|
|
name: '6x8',
|
|
|
|
category: 'special',
|
|
|
|
size: 8,
|
|
|
|
data:
|
|
|
|
' ------ ' +
|
|
|
|
' ------ ' +
|
|
|
|
' ------ ' +
|
|
|
|
' --wb-- ' +
|
|
|
|
' --bw-- ' +
|
|
|
|
' ------ ' +
|
|
|
|
' ------ ' +
|
|
|
|
' ------ '
|
|
|
|
};
|
|
|
|
|
2018-03-08 10:57:57 +02:00
|
|
|
export const spark: Map = {
|
2018-03-08 15:11:08 +02:00
|
|
|
name: 'Spark',
|
|
|
|
category: 'special',
|
2018-03-08 10:57:57 +02:00
|
|
|
size: 10,
|
|
|
|
data:
|
|
|
|
' - - ' +
|
|
|
|
'----------' +
|
|
|
|
' -------- ' +
|
|
|
|
' -------- ' +
|
|
|
|
' ---wb--- ' +
|
|
|
|
' ---bw--- ' +
|
|
|
|
' -------- ' +
|
|
|
|
' -------- ' +
|
|
|
|
'----------' +
|
|
|
|
' - - '
|
|
|
|
};
|
|
|
|
|
|
|
|
export const islands: Map = {
|
2018-03-08 15:11:08 +02:00
|
|
|
name: 'Islands',
|
|
|
|
category: 'special',
|
2018-03-08 10:57:57 +02:00
|
|
|
size: 10,
|
|
|
|
data:
|
|
|
|
'-------- ' +
|
|
|
|
'---wb--- ' +
|
|
|
|
'---bw--- ' +
|
|
|
|
'-------- ' +
|
|
|
|
' - - ' +
|
|
|
|
' - - ' +
|
|
|
|
' --------' +
|
|
|
|
' ---bw---' +
|
|
|
|
' ---wb---' +
|
|
|
|
' --------'
|
|
|
|
};
|
|
|
|
|
|
|
|
export const iphonex: Map = {
|
|
|
|
name: 'iPhone X',
|
2018-03-08 15:11:08 +02:00
|
|
|
category: 'special',
|
|
|
|
size: 12,
|
2018-03-08 10:57:57 +02:00
|
|
|
data:
|
2018-03-08 15:11:08 +02:00
|
|
|
' -- -- ' +
|
|
|
|
' -------- ' +
|
|
|
|
' -------- ' +
|
|
|
|
' -------- ' +
|
|
|
|
' -------- ' +
|
|
|
|
' ---wb--- ' +
|
|
|
|
' ---bw--- ' +
|
|
|
|
' -------- ' +
|
|
|
|
' -------- ' +
|
|
|
|
' -------- ' +
|
|
|
|
' -------- ' +
|
|
|
|
' ------ '
|
2018-03-08 10:57:57 +02:00
|
|
|
};
|