Computer Science > STUDY GUIDE > Collin College - CSCE 2100[LW] Dungeon Crawler (All)
LW: Dungeon Crawler For the labwork, you are responsible for writing the preliminary game logic of a dungeon crawler computer game, which is a type of game where you control an in-game character who... is navigating a fantasy dungeon environment. Your co-workers are still working on the graphics separately from the logic, so you are working on a text-based game prototype for developing and debugging your game logic code. A grade of complete on this labwork requires 35 of 40 points. Work on your code on Mimir with others in your groups, but submit individually. Objectives ● Properly create and store values into a 2D dynamic array using loop iteration. ● Code and call functions with pass by reference. ● Update variables after being passed into functions as references. Input Map Text File This labwork will involve reading a text file that contains information of the dungeon map's internal representation. This text file consists of three parts: ● Line 1: Map Dimensions. This line contains two values for representing the map's width and height, respectively. ● Line 2: Player Starting Location. This line contains two values for representing the player's starting x-coordinate position and y-coordinate position, respectively. ● Lines 3+: These lines contain the individual tile information of the dungeon map as numerical values. ○ The first number in Line 3 represents the map tile at (0, 0), where the first value is the x-coordinate position and the second value is the y--coordinate position. ○ Refer to the tile status constants in helper.h for more details. [Show More]
Last updated: 2 years ago
Preview 1 out of 5 pages
Buy this document to get the full access instantly
Instant Download Access after purchase
Buy NowInstant download
We Accept:
Can't find what you want? Try our AI powered Search
Connected school, study & course
About the document
Uploaded On
Apr 02, 2021
Number of pages
5
Written in
This document has been written for:
Uploaded
Apr 02, 2021
Downloads
0
Views
94
In Scholarfriends, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.
We're available through e-mail, Twitter, Facebook, and live chat.
FAQ
Questions? Leave a message!
Copyright © Scholarfriends · High quality services·