For years, Turkey has grappled with persistently high inflation rates, posing significant challenges to its economy. This enduring issue has been influenced by a combination of factors, beginning with the substantial depreciation of the Turkish lira against major currencies. The magnitude of this currency devaluation is so substantial that predicting exchange rates on any given date becomes exceedingly difficult, fluctuating between 2 and 30 between the years 2016 and 2024. With this project, we aim to draw attention to the challenges posed by currency devaluation and the difficulty in accurately predicting currency rates.

The app begins by prompting the user to select the number of turns they wish to play (between 1 and 10). It then displays a date for each turn and prompts the user to guess the USD to TRY exchange rate on that date. After the user submits their guess, the app calculates the percentage difference between the real rate and the guessed rate, awarding points accordingly. Once all turns are completed, the app displays the total score and individual scores for each turn, allowing the user to replay by selecting a new number of turns with a replay button.

We utilized the Django framework to build the web application. The game logic is implemented in JavaScript. To generate a random date and corresponding exchange rate, the game utilizes a Django view, which retrieves this data from the SQLite database created specifically for this project. It works with a CSS file to style the UI. And hosted the site with pythonanywhere. You can reach the app on 3mirhan.pythonanywhere.com.

Groups Turkish team member Emirhan asked his Turkish friends to test the web application and got some positive feedback from them.

Share this project:

Updates