Question: CS 2 6 2 Project 1 : DungeonCubeCaesar Due: 1 0 / 1 3 at 1 1 : 5 9 PM EST Overview: In this

CS 262 Project 1: DungeonCubeCaesar Due: 10/13 at 11:59 PM EST Overview: In this project, you will write a C program that reinforces programming fundamentals, such as expressions, control flow, and functions. You will also use C functions for random number generation. The rand() function is a random number generator in C that returns a value in a specified range from [0, max]. The value returned by rand() function is based off a seed value that is passed into srand() function, which determines the pseudo-random numbers generated. Restrictions: You may not use any global variables. Premise: You wake up, not knowing where you are, only to realize you are in a dark corridor with a single light faintly shining above. As you look around wondering how you got in such a position, someone else gets put into the same dark room as the gates then shut close. You both look at one another, not knowing what to say only to hear a loud voice coming from overhead welcoming you to the game of DungeonCubeCaesar. The voice explains that only one of you will be able to escape the dungeon. Summary of DungeonCubeCaesar: The game of DungeonCubeCaesar is a two-player game. A random five-letter word is generated and the number of sides for the two dices used in the game are determined. Players one and two each take turns to roll two n-side dices. Whichever player's sum of thei

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!