Skip to content

Latest commit

 

History

History
46 lines (36 loc) · 1.12 KB

README.md

File metadata and controls

46 lines (36 loc) · 1.12 KB

Entrapped

Tiny little minefield of our dreams

git clone [email protected]:SKatiyar/entrapped.git

client setup

In src/api/api.js change to , var apiUrl="ws://localhost:7000"; (server should be running in 7000).

npm install 
npm run start

open in browser: http://localhost:3000/webpack-dev-server/

/* production */
npm run build

server setup

change directory paths in entrapped.go

go run main.go (in directory: server/cmd/entrapped)

TODOs:

Client
  • Validation on homepage for nickname. (nickname should not be empty before starting the game)
  • Handle errors from server.
  • Add extra life to minefield.
  • Add time limit UI to each game round.
  • Add capability to exit a game.
  • Animations on losing a life, opening a block.
  • JSON data handling.
  • Show a bomb icon on places where bomb exploded.
Server
  • Make user nickname unique.
  • Add time limit to each game round.
  • Add capability of adding minefield for opponent.
  • Add capability to start a new game on same connection.
  • JSON data handling.
  • Minefield should also have hidden lifes.
  • Tests for the server code.

Surprise us (bonus)