|
I programmed a Connect 4 game (with JAVA) during my Vacation !
|
I was going to "Ras El Hekma" (somewhere near "Marsa Matrooh") on a Vacation, but since I'm a geek I took my laptop with me and decided to make a Connect4 game during the 3-hour travel so we can play Connect4 there at night, I started to make it using JAVA and planned to make a 3D version later. Checking weather a player won or not was harder than I thought since I was using a two dimensional char array of 'X' and 'O' so I was trying to avoid having an ArrayIndexOutOfBoundsException. This game is programmed with JAVA so you don't need DirectX, all you need is JRE(Java Runtime Enviroment) or JDK(Java Developer Kit) I also included it's code so you can view it and change it as much as you like ;)
|