Giter Site home page Giter Site logo

madebyparker / commandline-dungeon-crawler Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 758 KB

Results: 90/100 A C# Command line Dungeon Crawler for my COMP1000 University Module. Escape the maze whilst avoiding or killing monsters and collecting gold.

C# 99.62% Batchfile 0.38%
c-sharp dungeon-crawler game

commandline-dungeon-crawler's Introduction

2020-COMP1000-CW2 โ˜ 

This is the readme for my commandline dungeon crawler game.

For University COMP1000 Module

Results: 90/100

Code explanation video --> here

Description how to run: ๐Ÿƒโ€โ™‚๏ธ

I have compiled the project so that it can be executed without any issues ๐Ÿ˜Š.

On Windows Command Prompt:

  • Type cd .\bin\Release\netcore3.1 then type Crawler.exe.

On Windows Powershell:

  • Type the same then type .\Crawler.exe.

  • Or go to that folder and execute the .exe file.

Starting the game: โ–ถ

  • Load the map with either "load Simple.map" or "load Advanced.map" command.

  • Start the game by typing "play".

Info on the game: โ„น

First information: You are a character and have to escape dungeons where there is gold and monsters! Play the levels to escape!

Aim: This is a Dungeon Crawler made for the Command Line/ Powershell. Move the character, represented by an '@', starting on a 'S', by using the WASD keys and make your move around the map without crashing into walls '#' and battling with Monsters! 'M' by using the SPACEBAR key and picking up pieces of gold 'G' by pressing E key.

Controls: ๐ŸŽฎ

Key Action
W Move Up
S Move Down
A Move Left
D Move Right
E Pickup Gold
"Spacebar" Attack Monsters

This project used a various amount of techniques:

  • Reading files.
  • Jagged arrays.
  • Switches.
  • Various C# techniques.
  • C# Console Application on Visual Studio 2019.

Resources used: ๐Ÿ“š

Screenshots: ๐Ÿ–ผ

play-screen

Play screen after map loaded

Map-select

Map Selection Screen.

gameplay

Gameplay

Edits of code: ๐Ÿ““

  • 08/01/2021 - Fixed code so it passes all tests in Powershell and Visual Studio and changed the UI to look more appealing.
  • 11/01/2021 - Fixed loading bug with the advanced map under new execution phase and loading it in after typing 'play' and polished the reset of variable on the replay feature.
  • 12/01/2021 - Fixed bugs that messed with tests, although gold pickup doesn't work if you're on it, only works if you're next to it and updated user interface.
  • 13/01/2021 - Fixed attack action where .Trim() would remove the ' ' and then replace it with no empty space so it wouldn't register attacking the monster.
  • 14/01/2021 - For now if you move over the 'G' it will automatically increment gold counter but pickup stills works if next to the gold and pressing E, also ammended comments.

commandline-dungeon-crawler's People

Contributors

madebyparker avatar

Stargazers

 avatar

Watchers

 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.