Πέμπτη, 15 Δεκεμβρίου 2011

Solitaire game in development (Visual Basic)

This is me second big project in Visual Basic. There are many known solitaires but I didn't find my solitaire among them so I think it's unique. That's good because rare programs are unique nowadays. The details of the game will be posted when the program will be completed. The idea was pretty simple so I don't think I'll encounter many bugs. The programmer rule will exist anyway though - 80% of my time spend on this program will be debugging.

I'd also like to announce the possible development of the d&d board game by the d&d team. We haven't found any software on the Internet and we thought of making one. This one will be very complex because the game itself is very complex. The development team will be probably the 5 players (including me) that are playing the d&d so if we divide the work by 5 I don't think it'll be that difficult.

Any further news will be posted, I hope those 2 games will actually be created with 0 bugs. For now the focus will be on the solitaire game, the other project may start in 2012.

Σάββατο, 19 Νοεμβρίου 2011

SSH problem solved

Some Linux systems have encounter PMA authentication error while they try to connect with SSH. Since the solution isn't very obvious from the internet I decided to create this post.

Make sure you have open the SSH port on your router (port 22). If that's closed then proceeding in the next steps is just a waste of time so make sure it's open.
On the configuration file of ssh (usually /etc/ssh/sshd_conf) you should uncomment the "Password Authentication" and make sure it's on YES.
If you want to enable root SSH connection (which can compromise your Linux security) you should also uncomment the "PermitRootLogin" and make sure it's on YES.

These will solves most of your problems with your SSH connection.

Τρίτη, 30 Αυγούστου 2011

For The Crown, guild web site created.

The "For The Crown" guild is a guild in World of Warcraft European server : Ragnaros.

I've recently created the website for this guild, the link is : For The Crown web page
Join if you are interested. Ingame, we offer free repairs, and reputation bonuses. There are also many ways to earn gold by doing actions that help the guild grow.

My name there is Odisseas, I'm a Night elf hunter. :)

Τρίτη, 19 Απριλίου 2011

Dx Chess program complete!

Although it's pretty simple and the graphics don't tell much, it's pretty good to create and simulate various chess problems.
It can create files ending in dxchess (*.dxchess) and read them so that you can save and load as many problems you want.
In the setup menu you can place the pieces and the right spots you want your problem have. You can also hide the right count and/or the wrong count. There is space to write the information of the exercise and you may type in how many correct answers the cup will been shown. After you prepare all these, you can name your program however you like and save it. The default and only save path is C:/images/
When you load a problem your role is only clicking spots. If you think you found the spot the exercise asked you for then by clicking it you'll realize if your choice was correct or wrong. If your choice was right, you'll hear a nice sound and the specific spot will become pressed. (if you select the same spot again that will be passed as wrong). If your choice was wrong then you will hear a negative beep and you will see a thump down picture for 2 seconds.
This is the very first version of the program, I may upgrade it if I encounter problems or want to add something more.

Πέμπτη, 24 Μαρτίου 2011

1v1 soccer


Here is the link of 1v1 soccer game.
An interesting game to play when you're bored. :P

It's a very simple game where you control a soccer player and your goal is to score. It's pretty fun because the size of the body the player is pretty small compairing to his head and the gravity is low. Have fun playing it. :)

Σάββατο, 5 Μαρτίου 2011

Simon says game completed on logisim

This is the famous Simon says game. You can play it in low graphics here. It's a difficult memory game and interesting to all ages. In the beginning of the game a random button lights. You have to press that button. Then the game gives you - by lighting the buttons - the same sequence of buttons adding 1 random in the end. For example if it gives you yellow blue yellow red and you re-enter them correctly the next will be yellow blue yellow red AND 1 random button (yellow/blue/red/green).
I've made this game using logisim. I used only logic gates (and/or/not/xor) and some splitters, adders and d-flip-flops without editing the clock's path. I also used 4 buttons and some leds to make the game user friendly. The whole project took me nearly 2 days.

Παρασκευή, 18 Φεβρουαρίου 2011

Towers of Hanoi on emu8086


The towers of Hanoi can be solved with recursive and no recursive algorithms. In the wiki page I provided you can see both of them. Still, I thought of another no recursive algorithm that solves the puzzle and programmed it on emu8086.






My algorithm still solves the puzzle in the minimum required moves. To use the algorithm you need to remember just one think, left or right (let's call it abc) and has one and only rule: Move the disk that can be moved and wasn't moved in the last round. The disk should be moved according to what abc says, if that's impossible move the disk to the other way. After the move chance the abc. The first value of abc must be left if you have odd number of disks or right if you don't.

I've also made an add-on in the program. I used Visual Basic to create a program that reads whatever the emu8086's program sends to some specific ports. This program just displays the current position and the number of moves made so far.

Πέμπτη, 13 Ιανουαρίου 2011

Emu 8086's robot program complete!




The emu 8086's robot can be seen in the image on the left. The map is 9x6 and you can make any map using the tools provided (see Tool Box). The robot recieve commands from the command line, and gives you information from the data and status line.

I was assigned to create a program which operates the robot to do the following things:
1) Do what human want. (move forward, turn right/left, see what is in front of it, switch on/off lamp)
2) Move forward until he hits, analize what it hit and if it's a lamp in turn it on, then turns randomly right or left tries to move forward again and continues this loop. (I've put a limit of 50 loops)
3) The robot have to find all close lamps in a map and turn them on, all by it self.

After some days (3 or 4), I managed to make this program. The first 2 sub programs took me only a day or less, the third took me some time to complete because it is much more difficult that the others too. I managed to solve some of emu 8086's bugs delayed me. The program took me about 850 lines but works perfectly. I haven't found (yet) any kind of bug in my program.