Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Entrapped

Tiny little minefield of our dreams

git clone git@github.com: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)

About

Tiny little minefield of our dreams.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages