Entries by

Project Euler – Problem 3 Solution

Problem: The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number 600851475143 ? * https://projecteuler.net/problem=3 Php; <?php class ProblemSolver { private $original_number; private $number; private $current_prime_number = 2; private $prime_numbers = []; private $largest_prime_number; /** * ProblemSolver constructor. * @param int $number */ public function […]

Making Snake Game With Javascript

Ever since childhood I have always wondered how to make games and I wanted to make my own game one day. After spending so much time in the software industry, I asked myself why I should not do it anymore. Thus, I will improve my Javascript skill and I will also look at the software […]