Skip to content

Instantly share code, notes, and snippets.

View fossamagna's full-sized avatar
🏠
Working from home

MURAKAMI Masahiko fossamagna

🏠
Working from home
View GitHub Profile
'use strict';
const initState = {
'A': {
white: true,
graph: {
'C': ['J', 'I'],
'D': ['F', 'G'],
'I': ['J'],
'G': ['F']
'use strict';
const STEAT_COUNTS = 8;
class Table {
constructor() {
this.first = new Seat(0);
this.seats = [this.first]
let preSeat = this.first;
for (let i = 1; i < STEAT_COUNTS; i++) {