Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
NotificationsYou must be signed in to change notification settings

tasogare66/learn-speed

Repository files navigation

Online speed (card game) with Node.js and Socket.IO sample.

Online speed gameplay.

MOVIE

BLOG

PLAY

Running the sample

npm installnode server.js

memo

- npm initentry point server.js- npm install express --save- npm install -D @types/express- npm install socket.io --save- npm install -D @types/socket.io- npm install -D @types/socket.io-client- npm install nanoid --save- npm install -D @types/nanoid- npm install jquery --save- npm install -D @types/jquery- typescript- node version v14.15.5- npm install -D typescript @types/node@14- npx tsc --init- compile:npx tsc- run:node dist/server.js- webpack- npm install --save-dev webpack webpack-cli ts-loader html-webpack-plugin webpack-node-externalsnpm run dev でwebpack- nodemon- npm install --save-dev nodemon nodemon-webpack-pluginnpm run dev でサーバーも起動

HEROKU

heroku loginheroku create learn-speedgit push heroku mainheroku ps:scale web=1heroku openheroku logs --tail

local test

heroku local web

https://learn-speed.herokuapp.com/

ref

https://www.hiramine.com/programming/onlinebattletanks_nodejs_socketio/index.htmlhttp://www.cc.kochi-u.ac.jp/~tyamag/jyohou/javascriptcardgame.pdf

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp