FoundKey/src/games/reversi/maps.ts

912 lines
13 KiB
TypeScript
Raw Normal View History

2018-03-08 08:57:57 +00:00
/**
*
*
* :
* () ...
* - ...
* b ...
* w ...
*/
export type Map = {
name?: string;
2018-03-08 13:11:08 +00:00
category?: string;
2018-03-09 09:11:10 +00:00
author?: string;
data: string[];
2018-03-08 08:57:57 +00:00
};
export const fourfour: Map = {
name: '4x4',
2018-03-08 13:11:08 +00:00
category: '4x4',
2018-03-09 09:11:10 +00:00
data: [
'----',
'-wb-',
'-bw-',
2018-03-08 08:57:57 +00:00
'----'
2018-03-09 09:11:10 +00:00
]
2018-03-08 08:57:57 +00:00
};
export const sixsix: Map = {
name: '6x6',
2018-03-08 13:11:08 +00:00
category: '6x6',
2018-03-09 09:11:10 +00:00
data: [
'------',
'------',
'--wb--',
'--bw--',
'------',
2018-03-08 08:57:57 +00:00
'------'
2018-03-09 09:11:10 +00:00
]
2018-03-08 08:57:57 +00:00
};
2018-03-08 13:11:08 +00:00
export const roundedSixsix: Map = {
name: '6x6 rounded',
category: '6x6',
2018-03-09 09:11:10 +00:00
author: 'syuilo',
data: [
' ---- ',
'------',
'--wb--',
'--bw--',
'------',
2018-03-08 13:11:08 +00:00
' ---- '
2018-03-09 09:11:10 +00:00
]
2018-03-08 13:11:08 +00:00
};
export const roundedSixsix2: Map = {
name: '6x6 rounded 2',
category: '6x6',
2018-03-09 09:11:10 +00:00
author: 'syuilo',
data: [
' -- ',
' ---- ',
'--wb--',
'--bw--',
' ---- ',
2018-03-08 13:11:08 +00:00
' -- '
2018-03-09 09:11:10 +00:00
]
2018-03-08 13:11:08 +00:00
};
2018-03-08 08:57:57 +00:00
export const eighteight: Map = {
name: '8x8',
2018-03-08 13:11:08 +00:00
category: '8x8',
2018-03-09 09:11:10 +00:00
data: [
'--------',
'--------',
'--------',
'---wb---',
'---bw---',
'--------',
'--------',
2018-03-08 08:57:57 +00:00
'--------'
2018-03-09 09:11:10 +00:00
]
2018-03-08 08:57:57 +00:00
};
2018-03-09 18:25:59 +00:00
export const eighteightH1: Map = {
name: '8x8 handicap 1',
category: '8x8',
data: [
'b-------',
'--------',
'--------',
'---wb---',
'---bw---',
'--------',
'--------',
'--------'
]
};
export const eighteightH2: Map = {
name: '8x8 handicap 2',
category: '8x8',
data: [
'b-------',
'--------',
'--------',
'---wb---',
'---bw---',
'--------',
'--------',
'-------b'
]
};
export const eighteightH3: Map = {
name: '8x8 handicap 3',
category: '8x8',
data: [
'b------b',
'--------',
'--------',
'---wb---',
'---bw---',
'--------',
'--------',
'-------b'
]
};
export const eighteightH4: Map = {
name: '8x8 handicap 4',
category: '8x8',
data: [
'b------b',
'--------',
'--------',
'---wb---',
'---bw---',
'--------',
'--------',
'b------b'
]
};
2018-03-09 21:14:46 +00:00
export const eighteightH12: Map = {
name: '8x8 handicap 12',
category: '8x8',
data: [
'bb----bb',
'b------b',
'--------',
'---wb---',
'---bw---',
'--------',
'b------b',
'bb----bb'
]
};
2018-03-10 15:04:25 +00:00
export const eighteightH16: Map = {
name: '8x8 handicap 16',
category: '8x8',
data: [
'bbb---bb',
'b------b',
'-------b',
'---wb---',
'---bw---',
'b-------',
'b------b',
'bb---bbb'
]
};
2018-03-10 14:36:05 +00:00
export const eighteightH20: Map = {
name: '8x8 handicap 20',
category: '8x8',
data: [
'bbb--bbb',
'b------b',
'b------b',
'---wb---',
'---bw---',
'b------b',
'b------b',
'bbb---bb'
]
};
2018-03-09 18:33:03 +00:00
export const eighteightH28: Map = {
name: '8x8 handicap 28',
category: '8x8',
data: [
'bbbbbbbb',
'b------b',
'b------b',
'b--wb--b',
'b--bw--b',
'b------b',
'b------b',
'bbbbbbbb'
]
};
2018-03-08 08:57:57 +00:00
export const roundedEighteight: Map = {
name: '8x8 rounded',
2018-03-08 13:11:08 +00:00
category: '8x8',
2018-03-09 09:11:10 +00:00
author: 'syuilo',
data: [
' ------ ',
'--------',
'--------',
'---wb---',
'---bw---',
'--------',
'--------',
2018-03-08 08:57:57 +00:00
' ------ '
2018-03-09 09:11:10 +00:00
]
2018-03-08 08:57:57 +00:00
};
export const roundedEighteight2: Map = {
name: '8x8 rounded 2',
2018-03-08 13:11:08 +00:00
category: '8x8',
2018-03-09 09:11:10 +00:00
author: 'syuilo',
data: [
' ---- ',
' ------ ',
'--------',
'---wb---',
'---bw---',
'--------',
' ------ ',
2018-03-08 08:57:57 +00:00
' ---- '
2018-03-09 09:11:10 +00:00
]
2018-03-08 08:57:57 +00:00
};
2018-03-08 13:11:08 +00:00
export const roundedEighteight3: Map = {
name: '8x8 rounded 3',
category: '8x8',
2018-03-09 09:11:10 +00:00
author: 'syuilo',
data: [
' -- ',
' ---- ',
' ------ ',
'---wb---',
'---bw---',
' ------ ',
' ---- ',
2018-03-08 13:11:08 +00:00
' -- '
2018-03-09 09:11:10 +00:00
]
2018-03-08 13:11:08 +00:00
};
2018-03-08 08:57:57 +00:00
export const eighteightWithNotch: Map = {
name: '8x8 with notch',
2018-03-08 13:11:08 +00:00
category: '8x8',
2018-03-09 09:11:10 +00:00
author: 'syuilo',
data: [
'--- ---',
'--------',
'--------',
' --wb-- ',
' --bw-- ',
'--------',
'--------',
2018-03-08 08:57:57 +00:00
'--- ---'
2018-03-09 09:11:10 +00:00
]
2018-03-08 08:57:57 +00:00
};
export const eighteightWithSomeHoles: Map = {
name: '8x8 with some holes',
2018-03-08 13:11:08 +00:00
category: '8x8',
2018-03-09 09:11:10 +00:00
author: 'syuilo',
data: [
'--- ----',
'----- --',
'-- -----',
'---wb---',
'---bw- -',
' -------',
'--- ----',
2018-03-08 08:57:57 +00:00
'--------'
2018-03-09 09:11:10 +00:00
]
2018-03-08 08:57:57 +00:00
};
2018-03-08 13:11:08 +00:00
export const circle: Map = {
name: 'Circle',
category: '8x8',
2018-03-09 09:11:10 +00:00
author: 'syuilo',
data: [
' -- ',
' ------ ',
' ------ ',
'---wb---',
'---bw---',
' ------ ',
' ------ ',
2018-03-08 13:11:08 +00:00
' -- '
2018-03-09 09:11:10 +00:00
]
2018-03-08 13:11:08 +00:00
};
2018-03-09 09:11:10 +00:00
export const smile: Map = {
name: 'Smile',
2018-03-08 13:11:08 +00:00
category: '8x8',
2018-03-09 09:11:10 +00:00
author: 'syuilo',
data: [
' ------ ',
'--------',
'-- -- --',
'---wb---',
'-- bw --',
'--- ---',
'--------',
2018-03-08 08:57:57 +00:00
' ------ '
2018-03-09 09:11:10 +00:00
]
2018-03-08 08:57:57 +00:00
};
2018-03-08 13:11:08 +00:00
export const window: Map = {
name: 'Window',
category: '8x8',
2018-03-09 09:11:10 +00:00
author: 'syuilo',
data: [
'--------',
'- -- -',
'- -- -',
'---wb---',
'---bw---',
'- -- -',
'- -- -',
2018-03-08 13:11:08 +00:00
'--------'
2018-03-09 09:11:10 +00:00
]
2018-03-08 13:11:08 +00:00
};
2018-03-08 17:38:54 +00:00
export const reserved: Map = {
name: 'Reserved',
category: '8x8',
2018-03-09 09:11:10 +00:00
author: 'Aya',
data: [
'w------b',
'--------',
'--------',
'---wb---',
'---bw---',
'--------',
'--------',
2018-03-08 17:38:54 +00:00
'b------w'
2018-03-09 09:11:10 +00:00
]
2018-03-08 17:38:54 +00:00
};
2018-03-08 18:01:55 +00:00
export const x: Map = {
name: 'X',
category: '8x8',
2018-03-09 09:11:10 +00:00
author: 'Aya',
data: [
'w------b',
'-w----b-',
'--w--b--',
'---wb---',
'---bw---',
'--b--w--',
'-b----w-',
2018-03-08 18:01:55 +00:00
'b------w'
2018-03-09 09:11:10 +00:00
]
};
2018-03-10 02:42:50 +00:00
export const parallel: Map = {
name: 'Parallel',
category: '8x8',
author: 'Aya',
data: [
'--------',
'--------',
'--------',
'---bb---',
'---ww---',
'--------',
'--------',
'--------'
]
};
2018-03-10 19:53:00 +00:00
export const lackOfBlack: Map = {
name: 'Lack of Black',
category: '8x8',
data: [
'--------',
'--------',
'--------',
'---w----',
'---bw---',
'--------',
'--------',
'--------'
]
};
2018-03-09 10:10:11 +00:00
export const squareParty: Map = {
name: 'Square Party',
category: '8x8',
author: 'syuilo',
data: [
'--------',
'-wwwbbb-',
'-w-wb-b-',
'-wwwbbb-',
'-bbbwww-',
'-b-bw-w-',
'-bbbwww-',
'--------'
]
};
2018-03-09 09:11:10 +00: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 18:01:55 +00:00
};
2018-03-08 08:57:57 +00:00
export const tenthtenth: Map = {
name: '10x10',
2018-03-08 13:11:08 +00:00
category: '10x10',
2018-03-09 09:11:10 +00:00
data: [
'----------',
'----------',
'----------',
'----------',
'----wb----',
'----bw----',
'----------',
'----------',
'----------',
2018-03-08 08:57:57 +00:00
'----------'
2018-03-09 09:11:10 +00:00
]
2018-03-08 08:57:57 +00:00
};
export const hole: Map = {
2018-03-08 13:11:08 +00:00
name: 'The Hole',
category: '10x10',
2018-03-09 09:11:10 +00:00
author: 'syuilo',
data: [
'----------',
'----------',
'--wb--wb--',
'--bw--bw--',
'---- ----',
'---- ----',
'--wb--wb--',
'--bw--bw--',
'----------',
2018-03-08 08:57:57 +00:00
'----------'
2018-03-09 09:11:10 +00:00
]
2018-03-08 08:57:57 +00:00
};
2018-03-08 13:11:08 +00:00
export const grid: Map = {
name: 'Grid',
category: '10x10',
2018-03-09 09:11:10 +00:00
author: 'syuilo',
data: [
'----------',
'- - -- - -',
'----------',
'- - -- - -',
'----wb----',
'----bw----',
'- - -- - -',
'----------',
'- - -- - -',
2018-03-08 13:11:08 +00:00
'----------'
2018-03-09 09:11:10 +00:00
]
2018-03-08 13:11:08 +00:00
};
2018-03-08 17:31:01 +00:00
export const cross: Map = {
name: 'Cross',
category: '10x10',
2018-03-09 09:11:10 +00:00
author: 'Aya',
data: [
' ---- ',
' ---- ',
' ---- ',
'----------',
'----wb----',
'----bw----',
'----------',
' ---- ',
' ---- ',
2018-03-08 17:31:01 +00:00
' ---- '
2018-03-09 09:11:10 +00: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 17:31:01 +00:00
};
2018-03-08 17:54:51 +00:00
export const walls: Map = {
name: 'Walls',
category: '10x10',
2018-03-09 09:11:10 +00: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 17:54:51 +00:00
' bbbbbbbb '
2018-03-09 09:11:10 +00:00
]
2018-03-08 17:54:51 +00:00
};
2018-03-10 09:04:39 +00:00
export const cpu: Map = {
name: 'CPU',
category: '10x10',
author: 'syuilo',
data: [
' b b b b ',
'w--------w',
' -------- ',
'w--------w',
' ---wb--- ',
' ---bw--- ',
'w--------w',
' -------- ',
'w--------w',
' b b b b '
]
};
2018-03-08 18:10:19 +00:00
export const checker: Map = {
name: 'Checker',
category: '10x10',
2018-03-09 09:11:10 +00:00
author: 'Aya',
data: [
'----------',
'----------',
'----------',
'---wbwb---',
'---bwbw---',
'---wbwb---',
'---bwbw---',
'----------',
'----------',
2018-03-08 18:10:19 +00:00
'----------'
2018-03-09 09:11:10 +00:00
]
2018-03-08 18:10:19 +00:00
};
2018-03-09 18:53:42 +00:00
export const japaneseCurry: Map = {
name: 'Japanese curry',
category: '10x10',
author: 'syuilo',
data: [
'w-b-b-b-b-',
'-w-b-b-b-b',
'w-w-b-b-b-',
'-w-w-b-b-b',
'w-w-wwb-b-',
'-w-wbb-b-b',
'w-w-w-b-b-',
'-w-w-w-b-b',
'w-w-w-w-b-',
'-w-w-w-w-b'
]
};
2018-03-10 09:04:39 +00:00
export const mosaic: Map = {
name: 'Mosaic',
category: '10x10',
author: 'syuilo',
data: [
'- - - - - ',
' - - - - -',
'- - - - - ',
' - w w - -',
'- - b b - ',
' - w w - -',
'- - b b - ',
' - - - - -',
'- - - - - ',
' - - - - -',
]
};
2018-03-09 13:54:30 +00:00
export const arena: Map = {
name: 'Arena',
category: '10x10',
author: 'syuilo',
data: [
'- - -- - -',
' - - - - ',
'- ------ -',
' -------- ',
'- --wb-- -',
'- --bw-- -',
' -------- ',
'- ------ -',
' - - - - ',
'- - -- - -'
]
};
2018-03-09 13:05:00 +00:00
export const reactor: Map = {
name: 'Reactor',
category: '10x10',
author: 'syuilo',
data: [
'-w------b-',
'b- - - -w',
'- --wb-- -',
'---b w---',
'- b wb w -',
'- w bw b -',
'---w b---',
'- --bw-- -',
'w- - - -b',
'-b------w-'
]
};
2018-03-08 13:11:08 +00:00
export const sixeight: Map = {
name: '6x8',
2018-03-09 18:01:33 +00:00
category: 'Special',
2018-03-09 09:11:10 +00:00
data: [
'------',
'------',
'------',
'--wb--',
'--bw--',
'------',
'------',
'------'
]
2018-03-08 13:11:08 +00:00
};
2018-03-08 08:57:57 +00:00
export const spark: Map = {
2018-03-08 13:11:08 +00:00
name: 'Spark',
2018-03-09 18:01:33 +00:00
category: 'Special',
2018-03-09 09:11:10 +00:00
author: 'syuilo',
data: [
' - - ',
'----------',
' -------- ',
' -------- ',
' ---wb--- ',
' ---bw--- ',
' -------- ',
' -------- ',
'----------',
2018-03-08 08:57:57 +00:00
' - - '
2018-03-09 09:11:10 +00:00
]
2018-03-08 08:57:57 +00:00
};
export const islands: Map = {
2018-03-08 13:11:08 +00:00
name: 'Islands',
2018-03-09 18:01:33 +00:00
category: 'Special',
2018-03-09 09:11:10 +00:00
author: 'syuilo',
data: [
'-------- ',
'---wb--- ',
'---bw--- ',
'-------- ',
' - - ',
' - - ',
' --------',
' --------',
' --------',
2018-03-08 08:57:57 +00:00
' --------'
2018-03-09 09:11:10 +00:00
]
2018-03-08 08:57:57 +00:00
};
2018-03-09 12:51:00 +00:00
export const galaxy: Map = {
name: 'Galaxy',
2018-03-09 18:01:33 +00:00
category: 'Special',
2018-03-09 12:51:00 +00:00
author: 'syuilo',
data: [
' ------ ',
' --www--- ',
' ------w--- ',
'---bbb--w---',
'--b---b-w-b-',
'-b--wwb-w-b-',
'-b-w-bww--b-',
'-b-w-b---b--',
'---w--bbb---',
' ---w------ ',
' ---www-- ',
' ------ '
]
};
2018-03-09 12:54:47 +00:00
export const triangle: Map = {
name: 'Triangle',
2018-03-09 18:01:33 +00:00
category: 'Special',
2018-03-09 12:54:47 +00:00
author: 'syuilo',
data: [
' -- ',
' -- ',
' ---- ',
' ---- ',
' --wb-- ',
' --bw-- ',
' -------- ',
' -------- ',
'----------',
'----------'
]
};
2018-03-08 08:57:57 +00:00
export const iphonex: Map = {
name: 'iPhone X',
2018-03-09 18:01:33 +00:00
category: 'Special',
2018-03-09 09:11:10 +00:00
author: 'syuilo',
data: [
' -- -- ',
'--------',
'--------',
'--------',
'--------',
'---wb---',
'---bw---',
'--------',
'--------',
'--------',
'--------',
' ------ '
]
2018-03-08 08:57:57 +00:00
};
2018-03-08 15:47:41 +00:00
2018-03-10 09:04:39 +00:00
export const dealWithIt: Map = {
name: 'Deal with it!',
category: 'Special',
author: 'syuilo',
data: [
'------------',
'--w-b-------',
' --b-w------',
' --w-b---- ',
' ------- '
]
};
export const experiment: Map = {
name: 'Let\'s experiment',
category: 'Special',
author: 'syuilo',
data: [
' ------------ ',
'------wb------',
'------bw------',
'--------------',
' - - ',
'------ ------',
'bbbbbb wwwwww',
'bbbbbb wwwwww',
'bbbbbb wwwwww',
'bbbbbb wwwwww',
'wwwwww bbbbbb'
]
};
2018-03-08 15:47:41 +00:00
export const bigBoard: Map = {
name: 'Big board',
2018-03-09 18:01:33 +00:00
category: 'Special',
2018-03-09 09:11:10 +00:00
data: [
'----------------',
'----------------',
'----------------',
'----------------',
'----------------',
'----------------',
'----------------',
'-------wb-------',
'-------bw-------',
'----------------',
'----------------',
'----------------',
'----------------',
'----------------',
'----------------',
2018-03-08 15:48:50 +00:00
'----------------'
2018-03-09 09:11:10 +00:00
]
2018-03-08 15:47:41 +00:00
};
2018-03-08 16:00:21 +00:00
export const twoBoard: Map = {
name: 'Two board',
2018-03-09 18:01:33 +00:00
category: 'Special',
2018-03-09 09:11:10 +00:00
author: 'Aya',
data: [
'-------- --------',
'-------- --------',
'-------- --------',
'---wb--- ---wb---',
'---bw--- ---bw---',
'-------- --------',
'-------- --------',
'-------- --------'
]
2018-03-08 16:00:21 +00:00
};
2018-03-09 18:01:33 +00:00
2018-03-10 12:23:00 +00:00
export const test1: Map = {
2018-03-09 18:01:33 +00:00
name: 'Test1',
category: 'Test',
data: [
'--------',
'---wb---',
'---bw---',
'--------'
]
};
2018-03-10 12:23:00 +00:00
export const test2: Map = {
name: 'Test2',
category: 'Test',
data: [
'------',
'------',
'-b--w-',
'-w--b-',
'-w--b-'
]
};
2018-03-10 12:48:20 +00:00
export const test3: Map = {
name: 'Test3',
category: 'Test',
data: [
'-w-',
'--w',
'w--',
'-w-',
'--w',
'w--',
'-w-',
'--w',
'w--',
'-w-',
'---',
'b--',
]
};
2018-03-10 13:23:14 +00:00
export const test4: Map = {
name: 'Test4',
category: 'Test',
data: [
'-w--b-',
'-w--b-',
'------',
'-w--b-',
'-w--b-'
]
};
2018-03-16 14:38:34 +00:00
2019-01-21 06:20:44 +00:00
// https://misskey.xyz/games/reversi/5aaabf7fe126e10b5216ea09 64
2018-03-16 14:38:34 +00:00
export const test5: Map = {
name: 'Test5',
category: 'Test',
data: [
'--wwwwww--',
'--wwwbwwww',
'-bwwbwbwww',
'-bwwwbwbww',
'-bwwbwbwbw',
'-bwbwbwb-w',
'bwbwwbbb-w',
'w-wbbbbb--',
'--w-b-w---',
'----------'
]
};