This is a program developed for the hackTheAdventure project. It is written in C# and serves as a starting point for the adventure game.
The program.cs file contains the main entry point for the game. It initializes the game engine and starts the game loop. The game loop handles user input, updates the game state, and renders the game world.
The AI creates a story based on the user input. The user can interact with the story by typing commands. The AI will then generate a response based on the user input. The AI will also generate a response based on the game state.
If you like the Project, please give it a star. If some people are interested in the project, I will continue to work on it.
HackTogether.NET.-.hackTheAdventure.mp4
- Interactive gameplay
- Multiple levels and challenges
- Player customization options
- Score tracking and leaderboard
- More levels and challenges
- More customization options
- More interactive gameplay
- Add combat system
- Add inventory system
- Add more items
- Add more enemies
To run the program, you need to have the .NET Core SDK installed on your machine. Clone the repository and navigate to the project directory. Then, open a terminal and run the following command:
dotnet runAdd the API key to the secrets.json file. You need an Azure OpenAI Key to run the program. You can get one here. Unfortunatly, the API key is not free, but you can get a free trial for 7 days. You have to use the Visual Studio secret manager to add the API key to the secrets.json file. You can find more information about the secret manager here.
In the future, we will add a way to add the API key to the secrets.json file without using the Visual Studio secret manager. I will also have to get the appsettings.json file to work, so that the user can add the API key to the file without using the Visual Studio secret manager.
Once the program is running, follow the on-screen instructions to navigate through the game. Use the keyboard to input commands and make choices.
Contributions are welcome! If you have any ideas or improvements, feel free to open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for more details.