Inspiration
I was inspired by the Steam game, STONKs-9800 and wanted to try my hand with somewhat making something stripped down but similar with an AI touch.
What it does
The AI stock Market, generates stocks, economic news, stock news, stock information and price. The player is tasked with investing with their given budget, with the goal of having as high a budget as they can at the end of the run. At the end of the run, the AI will analyze your activity, and give tips on how you can improve.
How we built it
The code is built using Javascript and HTML. I also used OpenAI API as the main AI responsible for generating all the stock variables and analyzing the runs activity.
Challenges we ran into
This was my first time working with OpenAI's API, so I ran into alot of issues getting it to work, especially on a webpage. I also had issues optimizing the code, as load times tend to be long the more complex the run was
Accomplishments that we're proud of
As I said before, this was my first time working on this endeavor. I am proud that I was able to navigate this hurdle, and that it will give me the experience to try out more projects like this
What we learned
This project helped me get better in HTML and Javascript. It also helped me learn how to use OpenAI's API and learning how to make a server running it and host it
What's next for Investment Game
I plan to work on it some more, flesh it out, add more difficulty options and modifiers. Also beautify it some more
Built With
- css
- github
- html
- javascript
- json
- openaiapi
- railway
Log in or sign up for Devpost to join the conversation.