2018-03-08 09:57:57 +01:00
|
|
|
/**
|
|
|
|
* 組み込みマップ定義
|
|
|
|
*
|
|
|
|
* データ値:
|
|
|
|
* (スペース) ... マス無し
|
|
|
|
* - ... マス
|
|
|
|
* b ... 初期配置される黒石
|
|
|
|
* w ... 初期配置される白石
|
|
|
|
*/
|
|
|
|
|
|
|
|
export type Map = {
|
|
|
|
name?: string;
|
2018-03-08 14:11:08 +01:00
|
|
|
category?: string;
|
2018-03-09 10:11:10 +01:00
|
|
|
author?: string;
|
|
|
|
data: string[];
|
2018-03-08 09:57:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
export const fourfour: Map = {
|
|
|
|
name: '4x4',
|
2018-03-08 14:11:08 +01:00
|
|
|
category: '4x4',
|
2018-03-09 10:11:10 +01:00
|
|
|
data: [
|
|
|
|
'----',
|
|
|
|
'-wb-',
|
|
|
|
'-bw-',
|
2018-03-08 09:57:57 +01:00
|
|
|
'----'
|
2018-03-09 10:11:10 +01:00
|
|
|
]
|
2018-03-08 09:57:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
export const sixsix: Map = {
|
|
|
|
name: '6x6',
|
2018-03-08 14:11:08 +01:00
|
|
|
category: '6x6',
|
2018-03-09 10:11:10 +01:00
|
|
|
data: [
|
|
|
|
'------',
|
|
|
|
'------',
|
|
|
|
'--wb--',
|
|
|
|
'--bw--',
|
|
|
|
'------',
|
2018-03-08 09:57:57 +01:00
|
|
|
'------'
|
2018-03-09 10:11:10 +01:00
|
|
|
]
|
2018-03-08 09:57:57 +01:00
|
|
|
};
|
|
|
|
|
2018-03-08 14:11:08 +01:00
|
|
|
export const roundedSixsix: Map = {
|
|
|
|
name: '6x6 rounded',
|
|
|
|
category: '6x6',
|
2018-03-09 10:11:10 +01:00
|
|
|
author: 'syuilo',
|
|
|
|
data: [
|
|
|
|
' ---- ',
|
|
|
|
'------',
|
|
|
|
'--wb--',
|
|
|
|
'--bw--',
|
|
|
|
'------',
|
2018-03-08 14:11:08 +01:00
|
|
|
' ---- '
|
2018-03-09 10:11:10 +01:00
|
|
|
]
|
2018-03-08 14:11:08 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
export const roundedSixsix2: Map = {
|
|
|
|
name: '6x6 rounded 2',
|
|
|
|
category: '6x6',
|
2018-03-09 10:11:10 +01:00
|
|
|
author: 'syuilo',
|
|
|
|
data: [
|
|
|
|
' -- ',
|
|
|
|
' ---- ',
|
|
|
|
'--wb--',
|
|
|
|
'--bw--',
|
|
|
|
' ---- ',
|
2018-03-08 14:11:08 +01:00
|
|
|
' -- '
|
2018-03-09 10:11:10 +01:00
|
|
|
]
|
2018-03-08 14:11:08 +01:00
|
|
|
};
|
|
|
|
|
2018-03-08 09:57:57 +01:00
|
|
|
export const eighteight: Map = {
|
|
|
|
name: '8x8',
|
2018-03-08 14:11:08 +01:00
|
|
|
category: '8x8',
|
2018-03-09 10:11:10 +01:00
|
|
|
data: [
|
|
|
|
'--------',
|
|
|
|
'--------',
|
|
|
|
'--------',
|
|
|
|
'---wb---',
|
|
|
|
'---bw---',
|
|
|
|
'--------',
|
|
|
|
'--------',
|
2018-03-08 09:57:57 +01:00
|
|
|
'--------'
|
2018-03-09 10:11:10 +01:00
|
|
|
]
|
2018-03-08 09:57:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
export const roundedEighteight: Map = {
|
|
|
|
name: '8x8 rounded',
|
2018-03-08 14:11:08 +01:00
|
|
|
category: '8x8',
|
2018-03-09 10:11:10 +01:00
|
|
|
author: 'syuilo',
|
|
|
|
data: [
|
|
|
|
' ------ ',
|
|
|
|
'--------',
|
|
|
|
'--------',
|
|
|
|
'---wb---',
|
|
|
|
'---bw---',
|
|
|
|
'--------',
|
|
|
|
'--------',
|
2018-03-08 09:57:57 +01:00
|
|
|
' ------ '
|
2018-03-09 10:11:10 +01:00
|
|
|
]
|
2018-03-08 09:57:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
export const roundedEighteight2: Map = {
|
|
|
|
name: '8x8 rounded 2',
|
2018-03-08 14:11:08 +01:00
|
|
|
category: '8x8',
|
2018-03-09 10:11:10 +01:00
|
|
|
author: 'syuilo',
|
|
|
|
data: [
|
|
|
|
' ---- ',
|
|
|
|
' ------ ',
|
|
|
|
'--------',
|
|
|
|
'---wb---',
|
|
|
|
'---bw---',
|
|
|
|
'--------',
|
|
|
|
' ------ ',
|
2018-03-08 09:57:57 +01:00
|
|
|
' ---- '
|
2018-03-09 10:11:10 +01:00
|
|
|
]
|
2018-03-08 09:57:57 +01:00
|
|
|
};
|
|
|
|
|
2018-03-08 14:11:08 +01:00
|
|
|
export const roundedEighteight3: Map = {
|
|
|
|
name: '8x8 rounded 3',
|
|
|
|
category: '8x8',
|
2018-03-09 10:11:10 +01:00
|
|
|
author: 'syuilo',
|
|
|
|
data: [
|
|
|
|
' -- ',
|
|
|
|
' ---- ',
|
|
|
|
' ------ ',
|
|
|
|
'---wb---',
|
|
|
|
'---bw---',
|
|
|
|
' ------ ',
|
|
|
|
' ---- ',
|
2018-03-08 14:11:08 +01:00
|
|
|
' -- '
|
2018-03-09 10:11:10 +01:00
|
|
|
]
|
2018-03-08 14:11:08 +01:00
|
|
|
};
|
|
|
|
|
2018-03-08 09:57:57 +01:00
|
|
|
export const eighteightWithNotch: Map = {
|
|
|
|
name: '8x8 with notch',
|
2018-03-08 14:11:08 +01:00
|
|
|
category: '8x8',
|
2018-03-09 10:11:10 +01:00
|
|
|
author: 'syuilo',
|
|
|
|
data: [
|
|
|
|
'--- ---',
|
|
|
|
'--------',
|
|
|
|
'--------',
|
|
|
|
' --wb-- ',
|
|
|
|
' --bw-- ',
|
|
|
|
'--------',
|
|
|
|
'--------',
|
2018-03-08 09:57:57 +01:00
|
|
|
'--- ---'
|
2018-03-09 10:11:10 +01:00
|
|
|
]
|
2018-03-08 09:57:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
export const eighteightWithSomeHoles: Map = {
|
|
|
|
name: '8x8 with some holes',
|
2018-03-08 14:11:08 +01:00
|
|
|
category: '8x8',
|
2018-03-09 10:11:10 +01:00
|
|
|
author: 'syuilo',
|
|
|
|
data: [
|
|
|
|
'--- ----',
|
|
|
|
'----- --',
|
|
|
|
'-- -----',
|
|
|
|
'---wb---',
|
|
|
|
'---bw- -',
|
|
|
|
' -------',
|
|
|
|
'--- ----',
|
2018-03-08 09:57:57 +01:00
|
|
|
'--------'
|
2018-03-09 10:11:10 +01:00
|
|
|
]
|
2018-03-08 09:57:57 +01:00
|
|
|
};
|
|
|
|
|
2018-03-08 14:11:08 +01:00
|
|
|
export const circle: Map = {
|
|
|
|
name: 'Circle',
|
|
|
|
category: '8x8',
|
2018-03-09 10:11:10 +01:00
|
|
|
author: 'syuilo',
|
|
|
|
data: [
|
|
|
|
' -- ',
|
|
|
|
' ------ ',
|
|
|
|
' ------ ',
|
|
|
|
'---wb---',
|
|
|
|
'---bw---',
|
|
|
|
' ------ ',
|
|
|
|
' ------ ',
|
2018-03-08 14:11:08 +01:00
|
|
|
' -- '
|
2018-03-09 10:11:10 +01:00
|
|
|
]
|
2018-03-08 14:11:08 +01:00
|
|
|
};
|
|
|
|
|
2018-03-09 10:11:10 +01:00
|
|
|
export const smile: Map = {
|
|
|
|
name: 'Smile',
|
2018-03-08 14:11:08 +01:00
|
|
|
category: '8x8',
|
2018-03-09 10:11:10 +01:00
|
|
|
author: 'syuilo',
|
|
|
|
data: [
|
|
|
|
' ------ ',
|
|
|
|
'--------',
|
|
|
|
'-- -- --',
|
|
|
|
'---wb---',
|
|
|
|
'-- bw --',
|
|
|
|
'--- ---',
|
|
|
|
'--------',
|
2018-03-08 09:57:57 +01:00
|
|
|
' ------ '
|
2018-03-09 10:11:10 +01:00
|
|
|
]
|
2018-03-08 09:57:57 +01:00
|
|
|
};
|
|
|
|
|
2018-03-08 14:11:08 +01:00
|
|
|
export const window: Map = {
|
|
|
|
name: 'Window',
|
|
|
|
category: '8x8',
|
2018-03-09 10:11:10 +01:00
|
|
|
author: 'syuilo',
|
|
|
|
data: [
|
|
|
|
'--------',
|
|
|
|
'- -- -',
|
|
|
|
'- -- -',
|
|
|
|
'---wb---',
|
|
|
|
'---bw---',
|
|
|
|
'- -- -',
|
|
|
|
'- -- -',
|
2018-03-08 14:11:08 +01:00
|
|
|
'--------'
|
2018-03-09 10:11:10 +01:00
|
|
|
]
|
2018-03-08 14:11:08 +01:00
|
|
|
};
|
|
|
|
|
2018-03-08 18:38:54 +01:00
|
|
|
export const reserved: Map = {
|
|
|
|
name: 'Reserved',
|
|
|
|
category: '8x8',
|
2018-03-09 10:11:10 +01:00
|
|
|
author: 'Aya',
|
|
|
|
data: [
|
|
|
|
'w------b',
|
|
|
|
'--------',
|
|
|
|
'--------',
|
|
|
|
'---wb---',
|
|
|
|
'---bw---',
|
|
|
|
'--------',
|
|
|
|
'--------',
|
2018-03-08 18:38:54 +01:00
|
|
|
'b------w'
|
2018-03-09 10:11:10 +01:00
|
|
|
]
|
2018-03-08 18:38:54 +01:00
|
|
|
};
|
|
|
|
|
2018-03-08 19:01:55 +01:00
|
|
|
export const x: Map = {
|
|
|
|
name: 'X',
|
|
|
|
category: '8x8',
|
2018-03-09 10:11:10 +01:00
|
|
|
author: 'Aya',
|
|
|
|
data: [
|
|
|
|
'w------b',
|
|
|
|
'-w----b-',
|
|
|
|
'--w--b--',
|
|
|
|
'---wb---',
|
|
|
|
'---bw---',
|
|
|
|
'--b--w--',
|
|
|
|
'-b----w-',
|
2018-03-08 19:01:55 +01:00
|
|
|
'b------w'
|
2018-03-09 10:11:10 +01:00
|
|
|
]
|
|
|
|
};
|
|
|
|
|
|
|
|
export const minesweeper: Map = {
|
|
|
|
name: 'Minesweeper',
|
|
|
|
category: '8x8',
|
|
|
|
author: 'syuilo',
|
|
|
|
data: [
|
|
|
|
'b-b--w-w',
|
|
|
|
'-w-wb-b-',
|
|
|
|
'w-b--w-b',
|
|
|
|
'-b-wb-w-',
|
|
|
|
'-w-bw-b-',
|
|
|
|
'b-w--b-w',
|
|
|
|
'-b-bw-w-',
|
|
|
|
'w-w--b-b'
|
|
|
|
]
|
2018-03-08 19:01:55 +01:00
|
|
|
};
|
|
|
|
|
2018-03-08 09:57:57 +01:00
|
|
|
export const tenthtenth: Map = {
|
|
|
|
name: '10x10',
|
2018-03-08 14:11:08 +01:00
|
|
|
category: '10x10',
|
2018-03-09 10:11:10 +01:00
|
|
|
data: [
|
|
|
|
'----------',
|
|
|
|
'----------',
|
|
|
|
'----------',
|
|
|
|
'----------',
|
|
|
|
'----wb----',
|
|
|
|
'----bw----',
|
|
|
|
'----------',
|
|
|
|
'----------',
|
|
|
|
'----------',
|
2018-03-08 09:57:57 +01:00
|
|
|
'----------'
|
2018-03-09 10:11:10 +01:00
|
|
|
]
|
2018-03-08 09:57:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
export const hole: Map = {
|
2018-03-08 14:11:08 +01:00
|
|
|
name: 'The Hole',
|
|
|
|
category: '10x10',
|
2018-03-09 10:11:10 +01:00
|
|
|
author: 'syuilo',
|
|
|
|
data: [
|
|
|
|
'----------',
|
|
|
|
'----------',
|
|
|
|
'--wb--wb--',
|
|
|
|
'--bw--bw--',
|
|
|
|
'---- ----',
|
|
|
|
'---- ----',
|
|
|
|
'--wb--wb--',
|
|
|
|
'--bw--bw--',
|
|
|
|
'----------',
|
2018-03-08 09:57:57 +01:00
|
|
|
'----------'
|
2018-03-09 10:11:10 +01:00
|
|
|
]
|
2018-03-08 09:57:57 +01:00
|
|
|
};
|
|
|
|
|
2018-03-08 14:11:08 +01:00
|
|
|
export const grid: Map = {
|
|
|
|
name: 'Grid',
|
|
|
|
category: '10x10',
|
2018-03-09 10:11:10 +01:00
|
|
|
author: 'syuilo',
|
|
|
|
data: [
|
|
|
|
'----------',
|
|
|
|
'- - -- - -',
|
|
|
|
'----------',
|
|
|
|
'- - -- - -',
|
|
|
|
'----wb----',
|
|
|
|
'----bw----',
|
|
|
|
'- - -- - -',
|
|
|
|
'----------',
|
|
|
|
'- - -- - -',
|
2018-03-08 14:11:08 +01:00
|
|
|
'----------'
|
2018-03-09 10:11:10 +01:00
|
|
|
]
|
2018-03-08 14:11:08 +01:00
|
|
|
};
|
|
|
|
|
2018-03-08 18:31:01 +01:00
|
|
|
export const cross: Map = {
|
|
|
|
name: 'Cross',
|
|
|
|
category: '10x10',
|
2018-03-09 10:11:10 +01:00
|
|
|
author: 'Aya',
|
|
|
|
data: [
|
|
|
|
' ---- ',
|
|
|
|
' ---- ',
|
|
|
|
' ---- ',
|
|
|
|
'----------',
|
|
|
|
'----wb----',
|
|
|
|
'----bw----',
|
|
|
|
'----------',
|
|
|
|
' ---- ',
|
|
|
|
' ---- ',
|
2018-03-08 18:31:01 +01:00
|
|
|
' ---- '
|
2018-03-09 10:11:10 +01:00
|
|
|
]
|
|
|
|
};
|
|
|
|
|
|
|
|
export const charX: Map = {
|
|
|
|
name: 'Char X',
|
|
|
|
category: '10x10',
|
|
|
|
author: 'syuilo',
|
|
|
|
data: [
|
|
|
|
'--- ---',
|
|
|
|
'---- ----',
|
|
|
|
'----------',
|
|
|
|
' -------- ',
|
|
|
|
' --wb-- ',
|
|
|
|
' --bw-- ',
|
|
|
|
' -------- ',
|
|
|
|
'----------',
|
|
|
|
'---- ----',
|
|
|
|
'--- ---'
|
|
|
|
]
|
|
|
|
};
|
|
|
|
|
|
|
|
export const charY: Map = {
|
|
|
|
name: 'Char Y',
|
|
|
|
category: '10x10',
|
|
|
|
author: 'syuilo',
|
|
|
|
data: [
|
|
|
|
'--- ---',
|
|
|
|
'---- ----',
|
|
|
|
'----------',
|
|
|
|
' -------- ',
|
|
|
|
' --wb-- ',
|
|
|
|
' --bw-- ',
|
|
|
|
' ------ ',
|
|
|
|
' ------ ',
|
|
|
|
' ------ ',
|
|
|
|
' ------ '
|
|
|
|
]
|
2018-03-08 18:31:01 +01:00
|
|
|
};
|
|
|
|
|
2018-03-08 18:54:51 +01:00
|
|
|
export const walls: Map = {
|
|
|
|
name: 'Walls',
|
|
|
|
category: '10x10',
|
2018-03-09 10:11:10 +01:00
|
|
|
author: 'Aya',
|
|
|
|
data: [
|
|
|
|
' bbbbbbbb ',
|
|
|
|
'w--------w',
|
|
|
|
'w--------w',
|
|
|
|
'w--------w',
|
|
|
|
'w---wb---w',
|
|
|
|
'w---bw---w',
|
|
|
|
'w--------w',
|
|
|
|
'w--------w',
|
|
|
|
'w--------w',
|
2018-03-08 18:54:51 +01:00
|
|
|
' bbbbbbbb '
|
2018-03-09 10:11:10 +01:00
|
|
|
]
|
2018-03-08 18:54:51 +01:00
|
|
|
};
|
|
|
|
|
2018-03-08 19:10:19 +01:00
|
|
|
export const checker: Map = {
|
|
|
|
name: 'Checker',
|
|
|
|
category: '10x10',
|
2018-03-09 10:11:10 +01:00
|
|
|
author: 'Aya',
|
|
|
|
data: [
|
|
|
|
'----------',
|
|
|
|
'----------',
|
|
|
|
'----------',
|
|
|
|
'---wbwb---',
|
|
|
|
'---bwbw---',
|
|
|
|
'---wbwb---',
|
|
|
|
'---bwbw---',
|
|
|
|
'----------',
|
|
|
|
'----------',
|
2018-03-08 19:10:19 +01:00
|
|
|
'----------'
|
2018-03-09 10:11:10 +01:00
|
|
|
]
|
2018-03-08 19:10:19 +01:00
|
|
|
};
|
|
|
|
|
2018-03-08 14:11:08 +01:00
|
|
|
export const sixeight: Map = {
|
|
|
|
name: '6x8',
|
|
|
|
category: 'special',
|
2018-03-09 10:11:10 +01:00
|
|
|
data: [
|
|
|
|
'------',
|
|
|
|
'------',
|
|
|
|
'------',
|
|
|
|
'--wb--',
|
|
|
|
'--bw--',
|
|
|
|
'------',
|
|
|
|
'------',
|
|
|
|
'------'
|
|
|
|
]
|
2018-03-08 14:11:08 +01:00
|
|
|
};
|
|
|
|
|
2018-03-08 09:57:57 +01:00
|
|
|
export const spark: Map = {
|
2018-03-08 14:11:08 +01:00
|
|
|
name: 'Spark',
|
|
|
|
category: 'special',
|
2018-03-09 10:11:10 +01:00
|
|
|
author: 'syuilo',
|
|
|
|
data: [
|
|
|
|
' - - ',
|
|
|
|
'----------',
|
|
|
|
' -------- ',
|
|
|
|
' -------- ',
|
|
|
|
' ---wb--- ',
|
|
|
|
' ---bw--- ',
|
|
|
|
' -------- ',
|
|
|
|
' -------- ',
|
|
|
|
'----------',
|
2018-03-08 09:57:57 +01:00
|
|
|
' - - '
|
2018-03-09 10:11:10 +01:00
|
|
|
]
|
2018-03-08 09:57:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
export const islands: Map = {
|
2018-03-08 14:11:08 +01:00
|
|
|
name: 'Islands',
|
|
|
|
category: 'special',
|
2018-03-09 10:11:10 +01:00
|
|
|
author: 'syuilo',
|
|
|
|
data: [
|
|
|
|
'-------- ',
|
|
|
|
'---wb--- ',
|
|
|
|
'---bw--- ',
|
|
|
|
'-------- ',
|
|
|
|
' - - ',
|
|
|
|
' - - ',
|
|
|
|
' --------',
|
|
|
|
' --------',
|
|
|
|
' --------',
|
2018-03-08 09:57:57 +01:00
|
|
|
' --------'
|
2018-03-09 10:11:10 +01:00
|
|
|
]
|
2018-03-08 09:57:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
export const iphonex: Map = {
|
|
|
|
name: 'iPhone X',
|
2018-03-08 14:11:08 +01:00
|
|
|
category: 'special',
|
2018-03-09 10:11:10 +01:00
|
|
|
author: 'syuilo',
|
|
|
|
data: [
|
|
|
|
' -- -- ',
|
|
|
|
'--------',
|
|
|
|
'--------',
|
|
|
|
'--------',
|
|
|
|
'--------',
|
|
|
|
'---wb---',
|
|
|
|
'---bw---',
|
|
|
|
'--------',
|
|
|
|
'--------',
|
|
|
|
'--------',
|
|
|
|
'--------',
|
|
|
|
' ------ '
|
|
|
|
]
|
2018-03-08 09:57:57 +01:00
|
|
|
};
|
2018-03-08 16:47:41 +01:00
|
|
|
|
|
|
|
export const bigBoard: Map = {
|
|
|
|
name: 'Big board',
|
|
|
|
category: 'special',
|
2018-03-09 10:11:10 +01:00
|
|
|
data: [
|
|
|
|
'----------------',
|
|
|
|
'----------------',
|
|
|
|
'----------------',
|
|
|
|
'----------------',
|
|
|
|
'----------------',
|
|
|
|
'----------------',
|
|
|
|
'----------------',
|
|
|
|
'-------wb-------',
|
|
|
|
'-------bw-------',
|
|
|
|
'----------------',
|
|
|
|
'----------------',
|
|
|
|
'----------------',
|
|
|
|
'----------------',
|
|
|
|
'----------------',
|
|
|
|
'----------------',
|
2018-03-08 16:48:50 +01:00
|
|
|
'----------------'
|
2018-03-09 10:11:10 +01:00
|
|
|
]
|
2018-03-08 16:47:41 +01:00
|
|
|
};
|
2018-03-08 17:00:21 +01:00
|
|
|
|
|
|
|
export const twoBoard: Map = {
|
|
|
|
name: 'Two board',
|
|
|
|
category: 'special',
|
2018-03-09 10:11:10 +01:00
|
|
|
author: 'Aya',
|
|
|
|
data: [
|
|
|
|
'-------- --------',
|
|
|
|
'-------- --------',
|
|
|
|
'-------- --------',
|
|
|
|
'---wb--- ---wb---',
|
|
|
|
'---bw--- ---bw---',
|
|
|
|
'-------- --------',
|
|
|
|
'-------- --------',
|
|
|
|
'-------- --------'
|
|
|
|
]
|
2018-03-08 17:00:21 +01:00
|
|
|
};
|