This project is a complex one, with various other projects responsible for their own tasks. You can read the code of each of them. But I will not provide the template of the database used for the game and where all the information is stored. If you are interested in it, I am ready to help you. [email protected]
- Description
- Projects
- Why does this project exist?
- Features
- How to use it
- For the player
- Contacts
- License
Name | Description |
---|---|
Game Logic | A project in which all the game logic is stored. The logic of configurations from Google Sheets can be found here. |
Game API | Since it is an online game, it has a server. This project is responsible for it, and with the help of this project, you can test the auto-battle system. |
Schedule Task Service | This is an interesting service that helps you create tasks that need to happen. It uses a database where tasks and the data they require are stored to know what needs to be done and when. Also, when the service is offline, after launching, it performs all the tasks that would have happened if it was online. |
Telegram Bot | The game needs an interface, and a good solution for the first versions is to use a Telegram bot. It contains the game interface in the form of keyboards and other telegram features. |
Core | It stores data that can be used in all projects. |
Database | Access to the database that uses Dapper. (In the first versions, it was Entity Framework Core, but due to its peculiarities, it was easier to use pure SQL) |
There are several reasons for this:
- I am honing my knowledge on this project.
- I want to create my own online game, a strategy in which I can dynamically create content.
- 📊 Game configuration via Google Sheets: The game uses Google Sheets to store character, enemy, item, and adventure configurations. This makes it easy to edit and add new content.
- 🔧 Flexible Combat System: The battle system allows you to create a variety of battle configurations, which makes the game interesting and dynamic.
- 📤 Battle API: Players can use the API to conduct automated battles, which allows them to test different scenarios.
- 📲 Play via Telegram: The game supports the interface via Telegram bot, which provides players with a convenient way to interact with the game.
- Copy the HTTPS link of the project.
- Open Visual Studio and clone the repository to your computer.
- To test the battle system, run the
GameAPI
project. - Use the battle controller to send a GET request with the battle configuration JSON.
- After that you will get the result of the battle.
{
"Seed": 135333,
"BattleType": "Test",
"DayTime": "Evening",
"Tempetura": "Cool",
"Terrain": "Forest",
"Weather": "Cloudy",
"TeamConfigurations": [
{
"Player": {
"Id": "d5a3fc04-453e-4a3c-9b89-9a5a56c2f404",
"Username": "PlayerOne"
},
"UnitConfigurations": [
{
"Id": 1
},
{
"Id": 2
},
{
"Id": 3
},
{
"Id": 4
},
{
"Id": 5
}
]
},
{
"Player": {
"Id": "b8e0a042-3c4f-4e18-a2d4-08d5f47a44f4",
"Username": "PlayerTwo"
},
"UnitConfigurations": [
{
"Id": 6
},
{
"Id": 7
},
{
"Id": 8
},
{
"Id": 9
},
{
"Id": 10
}
]
}
]
}
At the moment, we have a lot of games to play. But in my opinion, many of them are quite boring, and more often than not, it's not because the ideas are bad, on the contrary, the ideas are cool, but the implementation is not very good due to its complexity. At the moment, I am learning and I aim to create a game that will really give you positive emotions. There are several reasons for this:
- There will be no P2W system.
- The game will not be manipulated to take your time.
- There will be no annoying skins that hurt your eyes and are designed to take your money.
- The plot of the game will be constantly changing so that there are no illogical moments.
- The setting of the game is very important, so sexualization and inappropriate skins will be absent.
- Email: [email protected]
- Telegram: WhyAlexFaktor