Title: Chess Game with acii chess reader/writer
Description:
This program is a chess program which can read and write the board from/to ACII text like this:
Code:bRk|bKn|bBi|bQu|bKi|bBi|bKn|bRk| ---+---+---+---+---+---+---+---+ bP |bP |bP |bP |bP |bP |bP |bP | ---+---+---+---+---+---+---+---+ | | | | | | | | ---+---+---+---+---+---+---+---+ | | | | | | | | ---+---+---+---+---+---+---+---+ | | | | | | | | ---+---+---+---+---+---+---+---+ | | | | | | | | ---+---+---+---+---+---+---+---+ wP |wP |wP |wP |wP |wP |wP |wP | ---+---+---+---+---+---+---+---+ wRk|wKn|wBi|wQu|wKi|wBi|wKn|wRk|
It also shows threatened and guarded pieces to give the player a better overview (which is hard to get in normal ACII chess).
Language:
This program is written in VB.Net.
Additional Info:
I have took 3 screen shots and added text to them, they should explain everything:
Overview:
Colored Squares:
Selection:
Tested System:
This "completed" program have only been tested on Windows Vista but during the work I have also tested it on Windows Xp.
Requirements (if any are known):
Knowing the chess rules
License:
I will not give anyone the code to this program until I'm done with my Todo list, then I will probably upload the source code too.
Operating Systems:
Since this is written in VB.Net it only works for windows.
Features:
See Additional Info
Todo List
-Making an icon to the program
-Adding 3 special moves (Castling, Promotion and En passant)
-Making so a piece which guarding the king (standing between the king and an enemy piece which could have take the king if it wasn't for this piece) can't threaten other pieces.
-Create the last 3 pictures (black king on black, white king on white and white queen on black) Thanks to amrosama for his pictures.
-And maybe something more, let me know if I should add anything more.
Source/Binary Attachment:
It looks nice. Now if I wasn't on Linux...
Impressive!! I wonder if it can be ported to Linux using mono. How long did this take you?
Posted via CodeCall Mobile
Only a couple of hours
looks great
nice work
yo homie i heard you like one-line codes so i put a one line code that evals a decrypted one line code that prints "i love one line codes"
www.amrosama.com | the unholy methods of javascriptCode:eval(base64_decode("cHJpbnQgJ2kgbG92ZSBvbmUtbGluZSBjb2Rlcyc7"));
mono is suppose to be fully compatible with .NET 2.0 Executables - as long as classes from higher versions were not used, you could simply select .NET 2.0 Framework in the project properties, recompile and it should work on a system with mono. Just thought I'd let you know - normally people don't leave the main application class named WindowsApplication1 in their code![]()
Interested in participating in community events?
Want to harness your programming skill and turn it into absolute prowess?
Come join our programming events!
Sounds simple enough, Termana. Have you done it before and did it work?
@Vswe: What version of .NET did you use?
@Termana: I don't know where that option is in VB I have only found it in C#.
@Jordan: 3.5 (or at least I think so).
Now after some hard work I can now release version 2 of my Chess with ASCII chess reader/writer.
The program's main window now look like this:
As you can see it looks a little bit different now.
This is all changes for this version:
*Added the three missing special moves
-Promotion:
-Castling:
-En passant:
*The programs now check for Check and CheckMate.
-Check:
-CheckMate:
If it will be checkmate after you have moved the selected piece this will be shown:
*The user can now change the settings. What things that should be shown and with witch color.
All these 11 colors can be changed by clicking on the colored square:
All colors can also be previewed with the current color and in the right position, this is the attack color preview when the color blue is selected:
*Creating movies for the game:
Here we have the option to create a movie:
If you press new movie a window will be shown were you will create the start screen:
After we created the movie we got some more options:
By pressing add image you will store the current image (the one in the picturebox, not a image created from the textbox) as next frame.
Then by pressing show movie window you can edit a few things before saving your image:
Here you can see all the images (15/page). You can change order and delete all the images but the first one. The first image you can instead edit, if you do so the same window as popped up before when you created the movie will be shown.
Then you can select Frames per second, path and start screen multiplier.
If you have selected the Fps to 1 and the multiplier to 10 means that the first frame(the one with the text) will be shown in 10x1 seconds and a normal frame will be shown for 1 second.
Then you can create the .avi file by clicking Create Move. Now all frames will be saved to the .avi.
That was all the changes.
It was meant that I should upload the source code too, but it's 54mb big and that's too big.
And now when I'm trying to attach the program I receive a Database error, what does that mean? I'll try to upload the program as fast as possible.
very cool!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks