Hi there! I started learning Java last September (2011) in school and for practice I have made some console based games. So instead of them just gathering dust I though I'd share them, because they're not terrible and feedback is always nice (also they may help beginners if they want to analyse my code )

Make sure to change the class name to match the one you're running in if you're using an IDE (such as eclipse), otherwise it won't load .

- I am planning to make a PAC-MAN/BomberMan clone next. I also plan to use this open source library called 'slick' based on the 'lwjql' (Light weight java game library). It should help me make more impressive looking games and more away from grid based stuff, since it has loads of drawing routines etc. .

- Note some of the GUI games have a glitch where if you click on them or elsewhere they stop working and you need to close/reopen them .

4) Here is my space game 'LaserGem'! It isn't finished yet, but it is playable. the aim of the game is to get 4 blocks of the same colour touch each other side by side. This gives you points and fills up your WMD energy bar (on the right). When it is full, the WMD clears the screen!

Arrow keys are move.Space is shoot.Enter is WMD (when ready).Your health goes down if you come into contact with the approaching blocks.Enjoy!

7) Next up it is my first ever game in GUI and most of you can probably play it right now with just a quick search in your games folder . That's right its MineSweeper! I'm still improving this, but it is in a working state now at least . I've added the flagging of mines with the use of the right click

NOTE: You can change the size of the board too what every you want by changing the int n and int m global variables (it must remain a square though, e.g. n= 20, m = 20 i.e. 20x20). Same goes for the number of mines by changing the int nomines global variable!

I have to say the algorithm to get it to fill out all of the spaces with no mines etc. was challenging at first . Once I found out about the recursion method though it was easy as pie! This is where you can call a method from within its self (do another iteration) with new perimeters AND it will go back to how it was before it was called once its done. Before I knew you could do this I was creating another method to control the recursions (iterations) and it was getting very complicated as I had to save to previous x/y values for EVERY iteration and then get it to reuse them when it finally got back to that iteration (so you can't overwrite them (sometimes it can have 10,000+ iterations!) . - Still good fun though!

Next is a game i've loved since I was a kid and was my first complex creation 'Reversi', otherwise known as Othello. It is a board game, which I made into a java app. The hardest part here was to get to check for invalid positions and also to flip the tiles (which I'm fairly certain is does properly now!)

9) Next up is 'MasterMind'! A fairly straight forward, code cracking based game, which is also very challenging . The hardest part when it came to creating this was probably creating the logic to check how close you're guess was, but since I'm always improving it seems pretty simple now .

10) Next up is my simplest game, a 'Reaction Tester'! (Does what it says on the tin). Even though this is my simplest game, with two difficulties, it also proves to be my second most popular after Othello/Reversi.

11) Finally it is my first ever game, that I made in Java 'NumberGuessing game' . At the time it seemed incredibly complicated, but now it seems far too simple. But don't be fooled by the dull name, it is pretty entertaining with a two player option, where you and a friend compete to guess your own mystery number first with 'warmer', 'colder' clues .