Skip to content

Websocket battleship server#1

Open
user-of-github wants to merge 26 commits intomainfrom
dev
Open

Websocket battleship server#1
user-of-github wants to merge 26 commits intomainfrom
dev

Conversation

@user-of-github
Copy link
Copy Markdown
Owner

@user-of-github user-of-github commented Feb 18, 2024

  1. Task https://github.com/AlreadyBored/nodejs-assignments/blob/main/assignments/battleship/assignment.md
  2. Done: 2024-02-23 / Deadline: 2024-02-27 01:00
  3. Self-mark: 158 of 188 EVERYTHING EXCEPT BOT FOR SINGLE PLAY

Basic Scope

  • Websocket
    • +6 Implemented workable websocket server
    • +6 Handle websocket clients connection/disconnection properly IF USER DISCONNECTS WHILE A GAME, FAME WILL BE FINISHED
    • +10 Websocket server message handler implemented properly
    • +10 Websocket server message sender implemented properly
  • User
    • +5 Create user with password in temprorary database
    • +5 User validation // IF USER DISCONNECTS AND CONNECTS AGAIN, HIS WIN COUNT IS SAVED; IF USER ALREADY CONNECTED, APP WILL NOT ALLOW TO CONNECT FROM ANOTHER TAB OR BROWSER OR DEVICE
  • Room
    • +6 Create game room
    • +6 Add user to game room
    • +6 Start game
    • +6 Finish game
    • +8 Update room's game state
    • +4 Update player's turn
    • +8 Update players winner table
  • Ships
    • +10 Locate ship to the game board
  • Game
    • +8 Attack
    • +4 Random attack

Advanced Scope

  • +30 Task implemented on Typescript
  • +20 Codebase is separated (at least 4 modules)
  • +30 Make bot for single play (optionally)

Forfeits

  • -95% of total task score any external tools except ws, cross-env, dotenv, typescript, ts-node, ts-node-dev, nodemon, eslint and its plugins, webpack and its plugins, prettier, @types/* and testing tools (for example, Jest, Mocha, AVA, Jasmine, Cypress, Storybook, Puppeteer)
  • -30% of total task score Commits after deadline (except commits that affect only Readme.md, .gitignore, etc.)
  • -10 Missing PR or its description is incorrect
  • -10 No separate development branch
  • -10 Less than 3 commits in the development branch, not including commits that make changes only to Readme.md or similar files (tsconfig.json, .gitignore, .prettierrc.json, etc.)

@user-of-github user-of-github self-assigned this Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant