Refactorijg

This commit is contained in:
syuilo
2018-07-07 19:01:33 +09:00
parent 2cdcbcc80e
commit 865fd25af1
19 changed files with 46 additions and 44 deletions

View File

@ -1,10 +1,10 @@
import * as websocket from 'websocket';
import * as redis from 'redis';
import * as CRC32 from 'crc-32';
import ReversiGame, { pack } from '../../../models/reversi-game';
import ReversiGame, { pack } from '../../../models/games/reversi/game';
import { publishReversiGameStream } from '../../../publishers/stream';
import Reversi from '../../../reversi/core';
import * as maps from '../../../reversi/maps';
import Reversi from '../../../games/reversi/core';
import * as maps from '../../../games/reversi/maps';
import { ParsedUrlQuery } from 'querystring';
export default function(request: websocket.request, connection: websocket.connection, subscriber: redis.RedisClient, user?: any): void {

View File

@ -1,7 +1,7 @@
import * as mongo from 'mongodb';
import * as websocket from 'websocket';
import * as redis from 'redis';
import Matching, { pack } from '../../../models/reversi-matching';
import Matching, { pack } from '../../../models/games/reversi/matching';
import publishUserStream from '../../../publishers/stream';
export default function(request: websocket.request, connection: websocket.connection, subscriber: redis.RedisClient, user: any): void {