-
- Downloads
Initial commit.
adding all current work
parents
No related branches found
No related tags found
Showing
- .gitignore 5 additions, 0 deletions.gitignore
- package-lock.json 0 additions, 0 deletionspackage-lock.json
- package.json 26 additions, 0 deletionspackage.json
- public/errors/404.html 18 additions, 0 deletionspublic/errors/404.html
- public/errors/500.html 18 additions, 0 deletionspublic/errors/500.html
- public/games/battleships/battleships.js 11 additions, 0 deletionspublic/games/battleships/battleships.js
- public/games/battleships/index.html 14 additions, 0 deletionspublic/games/battleships/index.html
- public/games/index.html 28 additions, 0 deletionspublic/games/index.html
- public/index.html 12 additions, 0 deletionspublic/index.html
- server.js 2 additions, 0 deletionsserver.js
- src/auth.ts 14 additions, 0 deletionssrc/auth.ts
- src/autoredirect.ts 22 additions, 0 deletionssrc/autoredirect.ts
- src/debug.ts 14 additions, 0 deletionssrc/debug.ts
- src/error.ts 54 additions, 0 deletionssrc/error.ts
- src/gamedb.ts 31 additions, 0 deletionssrc/gamedb.ts
- src/games.ts 263 additions, 0 deletionssrc/games.ts
- src/games/battleships.ts 46 additions, 0 deletionssrc/games/battleships.ts
- src/games/game.ts 19 additions, 0 deletionssrc/games/game.ts
- src/log.ts 17 additions, 0 deletionssrc/log.ts
- src/sendFile.ts 30 additions, 0 deletionssrc/sendFile.ts
.gitignore
0 → 100644
package-lock.json
0 → 100644
This diff is collapsed.
package.json
0 → 100644
{ | ||
"name": "web-games", | ||
"version": "1.0.0", | ||
"description": "node-based backend and frontend for web-games", | ||
"main": "server.js", | ||
"scripts": { | ||
"run": "export PORT=80; node server.js", | ||
"test": "export PORT=8080; export DEBUG=1; node server.js" | ||
}, | ||
"author": "Alex Mansfield", | ||
"license": "ISC", | ||
"dependencies": { | ||
"@types/express": "^4.17.3", | ||
"@types/mysql": "^2.15.9", | ||
"@types/node": "^13.9.8", | ||
"@types/socket.io": "^2.1.4", | ||
"express": "^4.17.1", | ||
"mysql": "^2.18.1", | ||
"path": "^0.12.7", | ||
"socket.io": "^2.3.0", | ||
"ts": "^0.2.2" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^3.8.3" | ||
} | ||
} |
public/errors/404.html
0 → 100644
public/errors/500.html
0 → 100644
public/games/battleships/battleships.js
0 → 100644
public/games/battleships/index.html
0 → 100644
public/games/index.html
0 → 100644
public/index.html
0 → 100644
server.js
0 → 120000
src/auth.ts
0 → 100644
src/autoredirect.ts
0 → 100644
src/debug.ts
0 → 100644
src/error.ts
0 → 100644
src/gamedb.ts
0 → 100644
src/games.ts
0 → 100644
src/games/battleships.ts
0 → 100644
src/games/game.ts
0 → 100644
src/log.ts
0 → 100644
src/sendFile.ts
0 → 100644
Please register or sign in to comment