Posts

Showing posts with the label work-in-progress

JavaFX Snake Game (WIP)

Image
It's been a while, busy with classes. Decided to work on another little side project. Using what I've learned so far in my Java course, I wanted to test my JavaFX knowledge with this little game. Using GridPanes, Squares and Timeline Loops, I'm almost 85% done with the game, Snake eats and grows. Just need to add the lose conditions and that should do it. The game for now starts automatically. (So I need to add I title screen/pause screen) Link to the project on GitHub.

Going to Learn Java

Image
Did you know more than 3 billion  devices run Java? This coming semester I'm gonna be taking a Java course (better late than never!) . Gonna use this time to learn as much as I can . I will try hard to make any new proyects in Java. I'll be sure to update frequently.

Efficient Fibonacci (WIP)

Image
This was a little side thing I've been working on. I wanted to find a way to find a number (especially big ones) in the Fibonacci sequence without using recursion or memoization. After researching it a bit I came across this equation online. F(n) = ⌊Φⁿ/√5 + 1/2⌋,  with   Φ = (1+ √5 )/2 With this my program could find the right number from any position n  without resorting to make multiple recursion and having to find the Fibonacci of every number below n , effectively ( hopefully ) making it faster and more efficient.