logo Use CA10RAM to get 10%* Discount.
Order Nowlogo
(5/5)

Create a script that will automatically generate a map using the assets provided

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

In Unity using Visual Studio in c#. Create a script that will automatically generate a map using the assets provided. Include the following Rules for the map generation Logic for each map cell/module, make a Custom window for generating map,

Regenerate and delete previous Entire project excluding library

 

 

-U - A, B.1,B.3, B.4, C.2

-D - A, B.1, B.2, B.3, C.2

-L - A, B.2, B.3, B.4, C.1

-R - A, B.1, B.2, B.4, C.1

 

-U - A, B.1, B.3, B.4, C.2, D.4, E.1

-D - A, B.1, B.2, B.3, C.2, D.2, D.3, E.3

-L - A, B.2, B.3, B.4, C.1, D.3, D.4, E.4

 

-L - A, B.2, B.3, B.4, C.1, C.3, C.4, E.4

-R - A, B.1, B.2, B.4, C.1, D.1, D.2, E.2

 

-D - A, B.1, B.2, B.3, C.2, D.2, D.3, E.3

-L - A, B.2, B.3, B.4, C.1, D.3, D.4

 

-D - A, B.1, B.2, B.3, C.2, D.2, D.3, 

 

Starting with a random block at center grid space, for each available whitespace side, Each direction each block, place a random valid block. While there are blocks with whitespace, for each available whitespace side, place a random valid block

Whitespace to whitespace

Whitespace can't be bordered by nothing

Whitespace can't be bordered by a wall

 

Each object stores it’s 4 neighbors

XbyX Square, any block touching edges must have wall on edge

 

Top edge E1, E2, E4, D1, D4, C1, B4

Left Edge  E1, E3, E4, D3, D4, C2, B3

 

Map size- map is x tiles in size. Once enough tiles have been generated, tiles that will result in more open whitespace than tiles left to generate will stop being generated

 

(5/5)
Attachments:

Related Questions

. Introgramming & Unix Fall 2018, CRN 44882, Oakland University Homework Assignment 6 - Using Arrays and Functions in C

DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma

. The standard path finding involves finding the (shortest) path from an origin to a destination, typically on a map. This is an

Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t

. Develop a program to emulate a purchase transaction at a retail store. This program will have two classes, a LineItem class and a Transaction class. The LineItem class will represent an individual

Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th

. SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

. Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Atharva PatilComputer science

573 Answers

Hire Me
expert
Chrisantus MakokhaComputer science

596 Answers

Hire Me
expert
AyooluwaEducation

980 Answers

Hire Me
expert
RIZWANAMathematics

605 Answers

Hire Me

Get Free Quote!

335 Experts Online