Skip to content
Permalink
Browse files
First
  • Loading branch information
heaths8 committed Oct 12, 2021
0 parents commit fdd9c111c90f19c4e6f8f08bfcd964252ecdff98
Show file tree
Hide file tree
Showing 25 changed files with 1,034 additions and 0 deletions.
Binary file not shown.
Binary file not shown.
Empty file.
Binary file not shown.
@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29020.237
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MiniProject", "MiniProject\MiniProject.csproj", "{1CD89625-9B39-479B-94A7-4E60C56EA25C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{1CD89625-9B39-479B-94A7-4E60C56EA25C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1CD89625-9B39-479B-94A7-4E60C56EA25C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1CD89625-9B39-479B-94A7-4E60C56EA25C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1CD89625-9B39-479B-94A7-4E60C56EA25C}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {E580C8B0-022C-43C6-BB4C-37A3F1FE4B5A}
EndGlobalSection
EndGlobal
@@ -0,0 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.2</TargetFramework>
</PropertyGroup>

</Project>
@@ -0,0 +1,81 @@
using System;

namespace MiniProject
{
class Program
{

public enum E_Equipment{
Sword,
Axe,
Club
}
public enum Armour
{
SmallShield,
MediumShield,
LargeShield
}


static Player[] players = new Player[3];
static Goblin[] goblins = new Goblin[3];

static void Main(string[] args)
{
SetupCharacters();
}

static void SetupCharacters()
{
for(int i =0; i< players.Length; i++)
{
//players[i].
}
for (int i = 0; i < goblins.Length; i++)
{
//goblins[i].
}

}

class Player
{
public String name;
public int coin= 6;
public int currentHealth = 10;
public Position position;
public Equipment weapon;
public Equipment armour;


public Player(string _name)
{
name = _name;
}
}
class Goblin
{
public String name;
public int currentHealth = 10;
public Position position;
public Goblin(string _name)
{
name = _name;
}
}

class Position
{
int x = 0;
int y = 0;
}

class Equipment
{
public String name;
public int cost;
}

}
}
@@ -0,0 +1,23 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v2.2",
"signature": "da39a3ee5e6b4b0d3255bfef95601890afd80709"
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v2.2": {
"MiniProject/1.0.0": {
"runtime": {
"MiniProject.dll": {}
}
}
}
},
"libraries": {
"MiniProject/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,10 @@
{
"runtimeOptions": {
"additionalProbingPaths": [
"C:\\Users\\heaths8\\.dotnet\\store\\|arch|\\|tfm|",
"C:\\Users\\heaths8\\.nuget\\packages",
"C:\\Microsoft\\Xamarin\\NuGet",
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
]
}
}
@@ -0,0 +1,9 @@
{
"runtimeOptions": {
"tfm": "netcoreapp2.2",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "2.2.0"
}
}
}
@@ -0,0 +1,23 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

using System;
using System.Reflection;

[assembly: System.Reflection.AssemblyCompanyAttribute("MiniProject")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("MiniProject")]
[assembly: System.Reflection.AssemblyTitleAttribute("MiniProject")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

// Generated by the MSBuild WriteCodeFragment class.

@@ -0,0 +1 @@
cc6e8a203be935d82ad9417450fe5ab6729a5ff9
Binary file not shown.
@@ -0,0 +1 @@
72a6ec22f3c41a81c49da8cf839d40bd566afa3f
@@ -0,0 +1,11 @@
C:\Users\heaths8\source\repos\MiniProject\MiniProject\bin\Debug\netcoreapp2.2\MiniProject.deps.json
C:\Users\heaths8\source\repos\MiniProject\MiniProject\bin\Debug\netcoreapp2.2\MiniProject.runtimeconfig.json
C:\Users\heaths8\source\repos\MiniProject\MiniProject\bin\Debug\netcoreapp2.2\MiniProject.runtimeconfig.dev.json
C:\Users\heaths8\source\repos\MiniProject\MiniProject\bin\Debug\netcoreapp2.2\MiniProject.dll
C:\Users\heaths8\source\repos\MiniProject\MiniProject\bin\Debug\netcoreapp2.2\MiniProject.pdb
C:\Users\heaths8\source\repos\MiniProject\MiniProject\obj\Debug\netcoreapp2.2\MiniProject.csprojAssemblyReference.cache
C:\Users\heaths8\source\repos\MiniProject\MiniProject\obj\Debug\netcoreapp2.2\MiniProject.csproj.CoreCompileInputs.cache
C:\Users\heaths8\source\repos\MiniProject\MiniProject\obj\Debug\netcoreapp2.2\MiniProject.AssemblyInfoInputs.cache
C:\Users\heaths8\source\repos\MiniProject\MiniProject\obj\Debug\netcoreapp2.2\MiniProject.AssemblyInfo.cs
C:\Users\heaths8\source\repos\MiniProject\MiniProject\obj\Debug\netcoreapp2.2\MiniProject.dll
C:\Users\heaths8\source\repos\MiniProject\MiniProject\obj\Debug\netcoreapp2.2\MiniProject.pdb
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,5 @@
{
"version": 1,
"dgSpecHash": "fwGaDcw3S9F9imtZw64gJ9FKSgCV5J7V2cujFGyYLqULVuKkNJ7pPG8f/BkEUBVCVXdhttMY1JVfvQtfZp+VAA==",
"success": true
}
@@ -0,0 +1,62 @@
{
"format": 1,
"restore": {
"C:\\Users\\heaths8\\source\\repos\\MiniProject\\MiniProject\\MiniProject.csproj": {}
},
"projects": {
"C:\\Users\\heaths8\\source\\repos\\MiniProject\\MiniProject\\MiniProject.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\heaths8\\source\\repos\\MiniProject\\MiniProject\\MiniProject.csproj",
"projectName": "MiniProject",
"projectPath": "C:\\Users\\heaths8\\source\\repos\\MiniProject\\MiniProject\\MiniProject.csproj",
"packagesPath": "C:\\Users\\heaths8\\.nuget\\packages\\",
"outputPath": "C:\\Users\\heaths8\\source\\repos\\MiniProject\\MiniProject\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Microsoft\\Xamarin\\NuGet\\",
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
],
"configFilePaths": [
"C:\\Users\\heaths8\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config"
],
"originalTargetFrameworks": [
"netcoreapp2.2"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netcoreapp2.2": {
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"netcoreapp2.2": {
"dependencies": {
"Microsoft.NETCore.App": {
"suppressParent": "All",
"target": "Package",
"version": "[2.2.0, )",
"autoReferenced": true
}
},
"imports": [
"net461"
],
"assetTargetFallback": true,
"warn": true
}
}
}
}
}
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\heaths8\.nuget\packages\;C:\Microsoft\Xamarin\NuGet\;C:\Program Files\dotnet\sdk\NuGetFallbackFolder</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">5.1.0</NuGetToolVersion>
</PropertyGroup>
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.netcore.app\2.2.0\build\netcoreapp2.2\Microsoft.NETCore.App.props" Condition="Exists('C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.netcore.app\2.2.0\build\netcoreapp2.2\Microsoft.NETCore.App.props')" />
</ImportGroup>
</Project>
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="C:\Program Files\dotnet\sdk\NuGetFallbackFolder\netstandard.library\2.0.3\build\netstandard2.0\NETStandard.Library.targets" Condition="Exists('C:\Program Files\dotnet\sdk\NuGetFallbackFolder\netstandard.library\2.0.3\build\netstandard2.0\NETStandard.Library.targets')" />
<Import Project="C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.netcore.app\2.2.0\build\netcoreapp2.2\Microsoft.NETCore.App.targets" Condition="Exists('C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.netcore.app\2.2.0\build\netcoreapp2.2\Microsoft.NETCore.App.targets')" />
</ImportGroup>
</Project>

0 comments on commit fdd9c11

Please sign in to comment.