Git Product home page Git Product logo

scrabble's Introduction

Scrabble

A multiplayer game made with Cocos Creator.

Play Now

https://wheatup.itch.io/scrabble

Preview

preview

Client

  1. Open root folder with Cocos Creator ^2.0.9.

  2. Start editing.

Server

  1. Go to server folder.

  2. Open up command tool in that directory, type npm install to install modules.

  3. Type npm install concurrently nodemon typescript -g to install global modules.

  4. Type npm start to start development server.

Deploy

  1. Simply deploy server branch.

scrabble's People

Contributors

seagullible avatar wheatup avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

scrabble's Issues

Can not start server

The log like:
E:\Projects\Cocos\scrabble\server>npm start

[email protected] start E:\Projects\Cocos\scrabble\server
concurrently --kill-others "tsc src/index.ts -w --outDir dist" "nodemon dist/index.js"

[1] [nodemon] 2.0.2
[1] [nodemon] to restart at any time, enter rs
[1] [nodemon] watching dir(s): .
[1] [nodemon] watching extensions: js,mjs,json
[1] [nodemon] starting node dist/index.js index.js
[1] internal/modules/cjs/loader.js:797
[1] throw err;
[1] ^
[1]
[1] Error: Cannot find module 'E:\Projects\Cocos\scrabble\server\index.js'
[1] at Function.Module._resolveFilename (internal/modules/cjs/loader.js:794:15)
[1] at Function.Module._load (internal/modules/cjs/loader.js:687:27)
[1] at Function.Module.runMain (internal/modules/cjs/loader.js:1025:10)
[1] at internal/main/run_main_module.js:17:11 {
[1] code: 'MODULE_NOT_FOUND',
[1] requireStack: []
[1] }
[1] [nodemon] app crashed - waiting for file changes before starting...
[0] error TS5023: Unknown option 'w'
[0] Use the '--help' flag to see options.
[0] E:\Projects\Cocos\scrabble\server\src\index.ts(6,15): error TS1005: '=' expected.
[0] E:\Projects\Cocos\scrabble\server\src\index.ts(6,20): error TS1005: ';' expected.
[0] E:\Projects\Cocos\scrabble\server\src\index.ts(8,1): error TS1008: Unexpected token; 'module, class, interface, enum, import or statement' expected.
[0] tsc src/index.ts -w --outDir dist exited with code 1
--> Sending SIGTERM to other processes..
[1] nodemon dist/index.js exited with code 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: concurrently --kill-others "tsc src/index.ts -w --outDir dist" "nodemon dist/index.js"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\vien.nguyenminh\AppData\Roaming\npm-cache_logs\2020-01-13T07_06_16_955Z-debug.log

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.