<commit_before>﻿using PingPong.Logic.GameObjects.Contracts;
using PingPong.Logic.Factories;
using PingPong.Logic.GameObjects;
using PingPong.Logic.Renderers;
using PingPong.Logic.Collision;
using PingPong.Logic.Enums;
using System;

namespace PingPong.Logic.Engines
{
    public class TwoPlayersGame : IGame
    {
        private const int MaxPoints = 1;
        private const int BallRadius = 15;
        private const double PlayerWidth = 5;
        private const double PlayerHeight = 60;

        private readonly IGameObjectsFactory objectsFactory;
        private readonly IRenderer renderer;
        private readonly ICollisionDetector collisionDetector;

        private double playerStep;
        private double ballVerticalStep;
        private double ballHorizontalStep;<commit_msg>fixes speed<commit_after>﻿using PingPong.Logic.GameObjects.Contracts;
using PingPong.Logic.Factories;
using PingPong.Logic.GameObjects;
using PingPong.Logic.Renderers;
using PingPong.Logic.Collision;
using PingPong.Logic.Enums;
using System;

namespace PingPong.Logic.Engines
{
    public class TwoPlayersGame : IGame
    {
        private const int MaxPoints = 10;
        private const int BallRadius = 15;
        private const double PlayerWidth = 5;
        private const double PlayerHeight = 60;

        private readonly IGameObjectsFactory objectsFactory;
        private readonly IRenderer renderer;
        private readonly ICollisionDetector collisionDetector;

        private double playerStep;
        private double ballVerticalStep;
        private double ballHorizontalStep;
{'fraction_non_alphanumeric': 0.05425867507886435, 'fraction_numerical': 0.008201892744479496, 'mean_word_length': 3.557471264367816, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3826693', 'n_tokens_mistral': 456, 'n_tokens_neox': 437, 'n_words': 122}