Atennop1 / CookiesBot

A simple bot for teaching databases and research OOP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CookiesBot

badge badge badge

About project

This is a project I did as practice in databases and fancy games. This is something like a clicker where you need to get cookies. There are regular and gold cookies, the first can be obtained simply by pressing a button, and the second can only be obtained once per hour. In the bot you need to turn on farm mode to start getting cookies. Then you can turn off this mode as unnecessary. This is also where I implemented my update loop and screen system so that after the bot reboots the player's state can be loaded. It was also planned to make a store, but I started other projects and as a result forgot about this one, and after that I didn’t want to finish it anymore, only the inventory with items was implemented. All data is stored in a database and searched by Telegram account ID. Below you can see how the bot works.

image

Specifics

  • Project using OOP and SOLID
  • Made with my database library
  • In this project I experimented with abstractions, it turned out cool
  • The project was made for teaching databases in practice and for research OOP

Tools

Conclusion

In conclusion, I would like to say that the project really added to my experience. It was interesting to design the game architecture in the conditions of a telegram bot. It was also interesting to work with databases, to think about how to implement this or that functionality with their help. Well, most of all it was pleasant to realize that all work with databases is carried out through my own library.

About

A simple bot for teaching databases and research OOP

License:MIT License


Languages

Language:C# 100.0%