Skip to main content

Posts

Showing posts from January, 2018

Unconventional Pedal Enclosures

If you're looking for ideas/inspiration for a unique enclosure for your project, you've come to the right place! Ideas and pictures on this page are contributed mainly by members of DIY guitar stompboxes groups and communities on G+, Facebook, Reddit and other forums. Some projects have also been handpicked from the internet without which, this list would be incomplete. Want to feature your pedal in this list? Click here.

Out of the Ordinary Enclosures-

NetBeans Java project- TIC TAC TOE (AI) - logic explained

Greetings!
This article covers the basic concept of how you can implement basic AI in you game, i.e allow the computer to compete with you, giving it equal chances of winning. It's worth a thought what makes the computer invincible in a human vs computer chess game?

A common notion is that programmers code for every single possibility in the game considering all permutations and combinations etc. However this is far from reality. We can instead make the computer go by the 'Human thought process ' for every move. Lets consider a simpler approach to the popular TIC-TAC-TOE game.



Try out TIC TAC TOE here. (500 Kb executable .jar file)



Coming to the TIC-TAC-TOE GAME. This project is a great exercise for beginners to get a hang of basic logic used in games and other applications.
The logic behind the computer's moves is simpler than you think. To begin with, lets see the logical flow of code before getting into the 'code'.
Here's how the code works-

After every move yo…