entrapped-again

module
v0.0.0-...-dc2c02b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2015 License: MIT

README

Entrapped

Tiny little minefield of our dreams

Cloning
Inside your $GOPATH/src create the following directory structure

$ mkdir github.com
$ cd github.com
$ mkdir kgthegreat

And then clone

$ git clone git@github.com:kgthegreat/entrapped-again.git

server setup
$ cd server/cmd/entrapped
$ go run main.go 
client setup
$ npm install 
$ npm run start

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

/* production */
npm run build
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)

Directories

Path Synopsis
Godeps
_workspace/src/github.com/gorilla/websocket
Package websocket implements the WebSocket protocol defined in RFC 6455.
Package websocket implements the WebSocket protocol defined in RFC 6455.
_workspace/src/github.com/gorilla/websocket/examples/autobahn
Command server is a test server for the Autobahn WebSockets Test Suite.
Command server is a test server for the Autobahn WebSockets Test Suite.
_workspace/src/github.com/julienschmidt/httprouter
Package httprouter is a trie based high performance HTTP request router.
Package httprouter is a trie based high performance HTTP request router.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL