I really like the game. Never used DOS graphics in my life, didn't realize that was possible. Good work.
This is a discussion on Did it Atlast.... within the A Brief History of Cprogramming.com forums, part of the Community Boards category; I really like the game. Never used DOS graphics in my life, didn't realize that was possible. Good work....
I really like the game. Never used DOS graphics in my life, didn't realize that was possible. Good work.
Code:int main(void){srand(time(0));for(double l=rand(),l0=0,l00=0;;l0+=0.1){for(double l000=0;l000 <1;l000+=.001,l+=((double)rand()/RAND_MAX)/0x64,l00+=((sin(l*0x8*atan(l0)*l000-(l0*0x8*atan (l)))*0.5)+0.5)){l00-=floor(l00);for(size_t l0000=0,l00000=(size_t)(0x50*(l00));l0000<l00000;++l0000 )putchar(0x20);putchar(0x61+(int)((double)rand()/RAND_MAX*0x1a));putchar('\n');}}return 0;}
Hi,
Thank you.... I have now added one more feature to my game... The defeated pawns are shrunk and displayed on the right side of the screen........... Well and now i have a better interface.. will be posting it after removing some bugging bugs....
Well i would appreciate if you guys gave me more ideas... And is it fine if i post the source here.(1400 lines..) do you guys have time to help me improve the coding structure....
Thanx in advance
Vasanth
The game is nice, but I think you should do two things:
1- Let the player know what piece is selected.
2- Make both the selection and the movment with the left mouse click.
Good Job...
none...
Added that feature and made the mouse interface drag adn drop..
I am planning to add an undo button to undo moves.. Any number of moves should be undone till the starting point is reached.. I was planing to use double linked list for this.. by keeping track of the changes in each node where each node represents a move.. Is there a better way of doing it... WHat do you think of using a file to store the moves instead of a list..
Why don't you attach the game after the modification...
I would like to see it
none...