Sorting Algorithms

Teo | 25 December 2020

Insertion Sort 1 2 3 4 5 6 7 8 9 10 11 12 public class InsertionSort { public static void sort(int array[]) { for (int j = 1; j < array.length; j++) { int key = array[j]; int i = j - 1; while ((i > -1) && (array[i] < key)) { array[i + 1] = array[i]; i--; } array[i + 1] = key; } }

read more

Data Structures

Teo | 26 June 2020

What are data structures? Data structure are specialized formats for organizing, processing, retrieving and storing data. While there are several basic and advanced structure types, any data structure is efficient in some operations and inefficient in others. Therefore, the goal is to understand them in order to pick the most optimal data structure for the problem at hand. Commonly used Data Structures are the following (listed from the easiest to wrap your head around to the hardest in my opinion):

read more

Dinobot v2

Teo | 09 June 2020

How do we make dinobot better? The overview of the plan is to use a neuroevolution algorithm NN to play the game instead of the bootleg algorithm I came up with that cannot be generalized that well over all states of the game. At first I was going to still keep the browser automation part and use my new algorithm to play the game in browser (and altho I might still do this in the future), for now I decided against it. Instead, I'm going to recreate a copy of the game in Java in order to learn more really....

read more

The beginnings of dinobot

Teo | 02 June 2020

Challenges of browser emulation with Selenium in Java I got inspired to start this project after seeing a Youtube video about android game app automatization in Python. I decided to turn the difficulty up a knotch and attempt my first ever project in Java: a bot that plays the Google Chrome offline dinosaur game. This is how dinobot was born, and I'm very thrilled to see where it will lead, as I have many improvements in mind, but that's for another post. Now let's dive in!

read more

Elements Reference

12 January 2018

Text This is bold and this is strong. This is italic and this is emphasized. This is superscript text and this is subscript text. This is underlined and this is code: for (;;) { ... }. Finally, this is a link. Heading Level 2 Heading Level 3 Heading with a Subtitle Lorem ipsum dolor sit amet nullam id egestas urna aliquam Nunc lacinia ante nunc ac lobortis. Interdum adipiscing gravida odio porttitor sem non mi integer non faucibus ornare mi ut ante amet placerat aliquet. Volutpat eu sed ante lacinia sapien lorem accumsan varius montes viverra nibh in adipiscing blandit...

read more