GithubHelp home page GithubHelp logo

social-gaming-project's Introduction

CMPT373 - Team Donair

How to build and use project

  • Prerequisites

    • Boost 1.68
    • Ncurses
    • CMake
    • C++17
  • Building

    • Download the repository, extract the folder to a location you have access to

    • Create a build folder

      • mkdir build
        cd build
        
    • Cmake to the location of the repository folder

      • sudo cmake PATH_TO_REPOSITORY_FOLDER
        
        Ex.
        sudo cmake /mnt/d/Dropbox/Dropbox/Courses/SPRING2020/CMPT373/social-gaming
        
    • Final step

      • sudo make GameServer
        
  • Using

    • Go to the directory of where you built the project

      • ./bin/GameServer
        
    • Open the .html file and connect using "localhost:4000" or "localhost:4000"

Project Structure

  • src/

    • Contains source code and header files that are for internal use
  • include/

    • Headers that are exposed publicly
  • lib/

    • Third party libraries
  • test/

    • Unit testing

Usage

  1. Create a .json "game" inside of /src/Games/...
  2. Build and launch the server with the instructions above
  3. Open the "socialapp.html" web client to connect into the server
  4. Type in the IP address and click "connect"
  5. You can type "/help" for the commands available
  6. "/createsession Game.json" where "Game" is the name of your .json file
  7. You should see an invite code be generated, type "/join invitecode"
  8. Once in a gamesession, you can chat with other users, or start the game
  9. Start the game by typing "/startgame invitecode"
  10. The game will now run!

Team Members

  • Phan Bui
  • Daniel Jui-Che Lin
  • Hunsar Sekhon
  • Joshua Deans
  • Jimmy Zhong
  • Matthew Zegar
  • Lam Nguyen
  • Yuheng Wu

Build Requirements for Networking Libaries

  • C++17 or newer
  • Boost >= 1.66 and < 1.72
  • CMake >= 3.12
  • NCurses (only tested with 6.1)

social-gaming-project's People

Contributors

danieljuiche avatar dbui69 avatar hunarsekhon avatar jimmyz27 avatar jimmyzgithub avatar joshua-deans avatar kutycoi123 avatar xxjaderabbitxx avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.