Skip to content

F1 2022 AI Difficulty Calculator. Made with SvelteKit and TypeScript. Archived

Notifications You must be signed in to change notification settings

jolbol1/f1-calc

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn Commitizen friendly


Logo

F1-Calc (Archived)

Simple AI Difficulty Calculator for F1 2022
View demo »

About The Project

Simple AI Difficulty Calculator for F1 2022. Find the best AI level to use per track based on your best Time Trial lap time.

Demo

(back to top)

Built With

  • Svelte
  • Vite
  • Typescript
  • Tailwind

(back to top)

Lessons Learnt

This project was originally pure HTML and typescript with webpack. I made it to learn the basics of TypeScript. Since then I have rewritten the interactivity with SvelteKit to get a basic understanding of what that ha to offer.

The original Webpack branch can be found at 'html-ts-only'

Lastly, I also tried implementing neumorphism design into the app. Personally not my cup of tea.

Getting Started

This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.

Prerequisites

This is an example of how to list things you need to use the software and how to install them.

  • npm
    npm install npm@latest -g

Installation

  1. Clone the repo
    git clone https://github.com/jolbol1/f1-calc.git
  2. Install NPM packages
    npm install

(back to top)

Usage

Simply select the track, and enter your best lap time from an equal performance Time Trial, and click calculate. The app will display the closest lap time and the AI level that set it.

(back to top)

Roadmap

  • Code cleanup
  • Lap time graphing
  • UI Redesign
  • Mobile consideration

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

This project uses commitizen and follows the conventional-commit format, with gitmojis! These are dev dependencies and will use hooks to help you submit the right commit message when running `git commit -m 'message'.

This project also runs prettier an eslint when commiting.

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

Your Name - @JollyShopland - [email protected]

Project Link: https://github.com/jolbol1/f1-calc

(back to top)

About

F1 2022 AI Difficulty Calculator. Made with SvelteKit and TypeScript. Archived

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •