Giter VIP home page Giter VIP logo

Thu Nghiem's Projects

material-ui icon material-ui

React components for faster and easier web development. Build your own design system, or start with Material Design.

unity-coding-test icon unity-coding-test

This question has several parts, do them in order: part 1 ) Make a square grid in unity, 50 wide by 50 high (ideally generated in code). Make it so that a click or tap on a a grid cell adds it to the user's selection, with a maximum of 2 selected points. The selected cells should be clearly visualized The oldest point in the list should be removed when a third point is selected. part 2 ) When two cells are selected, visualize the shortest route between the two points. The grid cells have a Von Neumann neighborhood, so no diagonals. The visualization can be whatever, e.g. a small sphere on each point in the path. part 3 ) Change the application so that on initialization, each grid cell is given a random height value between 0 and 127. Use the weight to set the cells color. When two points are selected display the path cost for the route in a UI label, where going uphill costs (e.g. height 24 ­> 54 has a cost of 30) but going downhill is free (e.g. 54­>24 has 0 cost) part 4) Alter the shortest route finding algorithm from part 2, to find the route between the two selected cells that minimizes climbing as defined in part 3. Imagine this is for a game, so it has to be able to find a route within several milliseconds on an average mobile device

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.