Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ai-typing.py #1637

Closed
wants to merge 2 commits into from
Closed

Conversation

mdhaarishussain
Copy link
Contributor

@mdhaarishussain mdhaarishussain commented Nov 8, 2024

Enhanced the code of the game The following are the enhancements :

1)Better Organization: Uses a class-based structure for better code organization

2)Difficulty-Based Word Lists: Different word sets for each difficulty level

3)Enhanced Statistics:

4)Tracks accuracy percentage
*Calculates Words Per Minute (WPM)
*Shows average performance statistics
*Visual Improvements:

5)Progress bar
6)Clear screen functionality
7)Emoji feedback
8)Better formatting and UI elements
9)Additional Features:

*Error handling for keyboard interrupts
*Detailed feedback after each word
*Progress tracking
*Waiting for user input between rounds
*Performance Metrics:

10)Accuracy calculation
*WPM calculation
*Time tracking
*User Experience:

11)Clear instructions
12)Visual progress indicators
13)More detailed feedback
14)Better game flow
To use this enhanced version:

Save it as ai_typing.py
Run it using: python ai_typing.py
Follow the on-screen instructions

Description

Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)

Type of change

  • Added a new machine learning frameworks, libraries or software.
  • Documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

Enhanced the code of the game  The following are the enhancements :

1)Better Organization: Uses a class-based structure for better code organization

2)Difficulty-Based Word Lists: Different word sets for each difficulty level

3)Enhanced Statistics:

4)Tracks accuracy percentage
*Calculates Words Per Minute (WPM)
*Shows average performance statistics
*Visual Improvements:

5)Progress bar
6)Clear screen functionality
7)Emoji feedback
8)Better formatting and UI elements
9)Additional Features:

*Error handling for keyboard interrupts
*Detailed feedback after each word
*Progress tracking
*Waiting for user input between rounds
*Performance Metrics:

10)Accuracy calculation
*WPM calculation
*Time tracking
*User Experience:

11)Clear instructions
12)Visual progress indicators
13)More detailed feedback
14)Better game flow
To use this enhanced version:

Save it as ai_typing.py
Run it using: python ai_typing.py
Follow the on-screen instructions
Copy link

github-actions bot commented Nov 8, 2024

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. In the meantime, please ensure that your changes align with our CONTRIBUTING.md. If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

Corrected the spelling of natural
@sanjay-kv sanjay-kv closed this Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants