Code Monkey home page Code Monkey logo

cs4500finalproject-1's Introduction

What is this

  • This is an Interactive animation of Breadth First Search and Inorder traversal of a set of nodes.

Breadth First Search

Breadth First Search

Inorder traversal

Inorder traversal

Pause functions

Pause and Unpause

Dev Notes

Running

This program is writin in es6. It is a javascript verion writtien in 2015 it includes support for impots and exports

Brwosers cannot use the import export modules in es6 unless specified by using type="module" in the html.

In order for browsers to run it smoothly it neeeds to be transpiled into es5 syntax.

Nodejs will use babel to transpile our code into code that can run on most browsers.

Us running

Nodejs is supposed to run on your browsers In oroder to run this program you will need to install

  • node
  • git

runing this on the server

To run this on the server you will need to connect to the server.

Each of us will need a specific port number to run this from so there are no conflicts

If your port is 8089 you will run it like so

ssh -L 8089:localhost:8089 [email protected]

This will forward all connects to your localhost:8089 to port 8089 on the server. This is required for you to see the code running

go to the phaser3-game directory run this will start nodejs on port 8089 for you to run your code

npm start -- --port 8089

Which should output

> [email protected] start /home/team/main/khalfani/CS4500FinalProject-1/phaser3-game
> webpack-dev-server --config webpack/webpack.dev.js "--port" "8089"

..[a bunch of other stuff].


ℹ 「wdm」: Compiled successfully.

Once you run this it will start a program that will compile your code. It will automatically recompile your code every time you edit it.

However you should not run this and another command in the same terminal at the same time.

you will need to ssh into it again

why each of us should have a user account

To be discussed later

  1. configs. If we set the git user and email config globally we ill all be commiting and pushing under the same name email

cs4500finalproject-1's People

Contributors

khalfaniw avatar wseng avatar acelhaka avatar cameronsykes 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.