Inspiration
When asked to create something random most of us thought of a Gacha system, it was at this moment that we realized that a Gacha system was absolutely a horrific idea due to many reasons that not need named. Randomness brings joy, excitement, a sense of adrenaline, anguish, pain, and regret. While there are lots of random events in games and life that could bring out these emotions one of the most recent (and hardest to successfully get into) is the stock market. While we can not promise to turn you into a master of stocks we can promise a simulation with that has just as much surprise, and tragedy, and adrenaline as the real world stock market.
What it does
In the hit game Mythos Stock you the player will have to immerse yourself in a fantasy world of buying and selling shares of mythic stocks. When loaded you will have three game modes to choose from, timed, endless, and king of debt. In the first two game modes you will be tasked with trying to swindle your way through the selling of stocks. Before the game begins you will be given three choices of a starting company and whichever company you choose will begin with one free stock from that company.
Timed
After being given your first stock you will have 10 minutes to sell that one and start buying more stocks. In these ten minutes random events will happen in the game world that can and will make life harder, but every once and a while things may go your way and a boost may happen to your stock. Not all events will affect the stock you are currently on and the later in the game you get the more companies that become available. After ten minutes your score will be shown and your high score will be noted.
Endless
This game mode will play out for however long you can stay out of debt for. After getting your first stock events will begin to happen periodically that try to drag you down into debt. Once you land into debt the game will be over.
How we built it
We had two different groups of three people work on the project. There was the back end and the front end. The backend designers were in charge of making the game itself which contained two different languages, those being C++ and JavaScript. The C++ is fed into the JavaScript and then the JavaScript is used for the actual website itself. The back end is what you imagine when someone says programmer, they are the ones making the functions so that the math and game functions work. The front end was responsible for formatting all of our screens and making sure the website itself was interactable, this includes making sure all of the buttons working, the graphs updating, general quality of life updates that make the game more playable and fun.
Challenges we ran into
The biggest problem in these types of projects is not the programming itself but brainstorming the ideas and having a game plan on how we are going to start the programming. In the beginning of the project we wanted to use a program called flutter to help make the game, but flutter is ran off of dart while most of us only knew C++ or JavaScript. After spending several hours of trying to find a fast and efficient way to convert our C++ to flutter we eventually decided to go with mongoDB which would take out the need to convert our code. Our other major problem was trying to find a way to incorporate ai into our project. This was quickly resolved however when the random events in our game was introduced which the prompts were ai generated.
Accomplishments that we're proud of
When a group of strangers come together and help each other for the sake of one goal that is something to be proud of. When an unexpected project is thrown on you and your group still makes the deadline through constant and hard work along with great teamwork and communication that is something to be proud of. Learning the coding and technical aspects is very much important and none of what was done this weekend could have even been thought of if not for the coding skills we had learned in the past but anyone can learn how to type code. Not anyone though can so easily work with brand new faces on a trying project and turn it into a good time. What we are most proud of is our attitude we had towards the project and how hard everyone worked on it.
What we learned
The group learned JavaScript, HTML, CSS, API setup & function, and UI/UX design.
What's next for Stock ai game
Improvement. The way this game has turned out is good for the effective day and a half that we had to work on it, but it could always be improved. The game could always be better, new modes added, better graphics, code that's easier to read, the biggest mistake in a project like this is settling at satisfactory. As long as we all have a little bit of fun and a passion to improve it we will
Log in or sign up for Devpost to join the conversation.