Skip to content

minhyeong-joe/sabotage-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sabotage Game is a chat-based web game in which players try to find out a random spy among themselves.

Any constructive feedbacks are always welcome and appreciated!

Game rule

rule

Requires at least 3 players


Development Notes

Please note that this project is for hobby.

  • Validations and game-play may not cover some edge cases, so play as intended. (AKA, do not try to "hack")
  • It is designed for desktop play, not mobile (yet).
  • It is never intended for large traffic.
  • socket.io disconnects and reconnects as new socket on refresh. During game-play, a refresh will automatically be considered as being "voted out", so avoid using refresh in-game.

Todos:

  • Chat bubble colors
  • Chat spam prevention
  • Empty chat prevention
  • Input sanitization
  • vote, sabotage timer
  • Chat characters limit
  • Font selection
  • Game sounds
  • Private Room
  • Display who has voted (and to whom)
  • Mobile-friendly UI/UX
  • Show locale time instead of server time
  • Better UI for invalid access (instead of simple alert())
    • Decided not to show any error message for invalid access (simply kick out to landing page seems enough)
  • Display dead indicators
  • Penalize wrong vote by excluding some words from the list
  • Some colors to system chat for readability

About

A chat-based mafia game created using express and socket.io

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published