Scriptodude / fun_board

A self-challenge to build a simple client-server game with as few libraries as possible.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FUN BOARD

A simple client-server implementation of multiple board games made from scratch with as few libraries as possible - if not none - using GoLang as the backend server, Javascript for the frontend and HTML5's iframe as the viewport.

I define a Library as :

  • Something not included de-facto in the language
  • Some unofficial patch you can download to upgrade the language
  • Any Framework is a set of libraries
  • Any extension that requires download from a remote source (e.g JQuery or Bootstrap)

How to execute

Linux only at the moment

Tested on Linux Mint 17

  1. Install GoLang >= 1.11
  2. clone the repo on your $GOPATH Do NOT use go install !
    1. I haven't tested with go install, but i have a guess it may not work properly.
  3. go to the root folder of fun_board (the one with .gitignore and stuff)
  4. type in chmod +x build.sh && ./build.sh
  5. cd bin && ./server
  6. go to localhost:8080
  7. Enjoy !

About

A self-challenge to build a simple client-server game with as few libraries as possible.

License:MIT License


Languages

Language:Go 82.7%Language:JavaScript 11.2%Language:HTML 3.1%Language:Shell 3.0%